pub trait TryParse: Sized {
// Required method
fn try_parse(value: &[u8]) -> Result<(Self, &[u8]), ParseError>;
}
Expand description
A type implementing this trait can be parsed from some raw bytes.
Required Methods§
Object Safety§
This trait is not object safe.