pub enum SerializationError {
NotEnoughSpace,
InvalidData,
UnexpectedFlags,
IoError(Error),
}
Expand description
This is an error that could occur during serialization
Variants§
NotEnoughSpace
During serialization, we didn’t have enough space to write extra info.
InvalidData
During serialization, the data was invalid.
UnexpectedFlags
During serialization, non-empty flags were given where none were expected.
IoError(Error)
During serialization, we countered an I/O error.
Trait Implementations§
source§impl Debug for SerializationError
impl Debug for SerializationError
source§impl Display for SerializationError
impl Display for SerializationError
source§impl From<Error> for SerializationError
impl From<Error> for SerializationError
source§fn from(e: Error) -> SerializationError
fn from(e: Error) -> SerializationError
Converts to this type from the input type.