pub enum BinarySerdeBufSafeError {
DeserializeError(DeserializeError),
OutOfBounds {
index: usize,
buf_len: usize,
},
}Expand description
an error which can occur while serializing/deserializing to/from a safe buffer serializer/deserializer.
Variants§
DeserializeError(DeserializeError)
a deserialization error occured while trying to deserialize the bytes that were read from the buffer.
OutOfBounds
the index is out of the bounds of the buffer
Trait Implementations§
Source§impl Debug for BinarySerdeBufSafeError
impl Debug for BinarySerdeBufSafeError
Source§impl Display for BinarySerdeBufSafeError
impl Display for BinarySerdeBufSafeError
Source§impl From<DeserializeError> for BinarySerdeBufSafeError
impl From<DeserializeError> for BinarySerdeBufSafeError
Source§fn from(source: DeserializeError) -> Self
fn from(source: DeserializeError) -> Self
Converts to this type from the input type.