pub trait Decode: Sized {
// Required method
fn decode<B>(buf: &mut B) -> Result<Self, UnexpectedEnd>
where B: Buf;
}Available on crate feature
h3 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.