pub trait Deserialize<'a> {
// Required method
fn deserialize(&mut self, cursor: Cursor<'a>) -> Result<Cursor<'a>, Error>;
}
Expand description
An object that is able to be deserialized from a series of bytes.
pub trait Deserialize<'a> {
// Required method
fn deserialize(&mut self, cursor: Cursor<'a>) -> Result<Cursor<'a>, Error>;
}
An object that is able to be deserialized from a series of bytes.