pub trait SerializeMinBEInt {
// Required method
fn to_be_bytes_min(self, max_value: Self) -> Result<Vec<u8>, ModelsError>;
}Expand description
Serialize min big endian integer
Required Methods§
Sourcefn to_be_bytes_min(self, max_value: Self) -> Result<Vec<u8>, ModelsError>
fn to_be_bytes_min(self, max_value: Self) -> Result<Vec<u8>, ModelsError>
serializes with the minimal amount of big endian bytes
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.