pub trait CanonicalDeserializeWithFlags: Sized {
// Required method
fn deserialize_with_flags<R: Read, F: Flags>(
reader: R
) -> Result<(Self, F), SerializationError>;
}
Expand description
Deserializer in little endian format allowing flags to be encoded.
Required Methods§
sourcefn deserialize_with_flags<R: Read, F: Flags>(
reader: R
) -> Result<(Self, F), SerializationError>
fn deserialize_with_flags<R: Read, F: Flags>( reader: R ) -> Result<(Self, F), SerializationError>
Reads Self
and Flags
from reader
.
Returns empty flags by default.
Object Safety§
This trait is not object safe.