pub trait DeserializeBytes {
// Required method
fn deserialize(read_buf: impl Buf) -> Result<Self, Error>
where Self: Sized;
}
Expand description
Represents type that can be deserialized from a byte buffer.
pub trait DeserializeBytes {
// Required method
fn deserialize(read_buf: impl Buf) -> Result<Self, Error>
where Self: Sized;
}
Represents type that can be deserialized from a byte buffer.