pub trait Decode: Sized {
// Required method
fn decode<B>(buf: &mut B) -> Result<Self, UnexpectedEnd>
where B: Buf;
}Available on crate features
h3 and i-implement-a-third-party-backend-and-opt-into-breaking-changes only.Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.