pub trait Parse {
type Error;
// Required methods
fn from_buf<T: Buf>(buf: &mut T) -> Result<Self, Self::Error>
where Self: Sized;
fn to_buf<T: BufMut>(&self, buf: &mut T) -> Result<(), Self::Error>;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.