PacketBuilder

Trait PacketBuilder 

Source
pub trait PacketBuilder<P> {
    type Error;

    // Required method
    fn build_from<T: Bits>(&self, input: &mut T) -> Result<P, Self::Error>;
}
Available on crate feature alloc only.

Required Associated Types§

Required Methods§

Source

fn build_from<T: Bits>(&self, input: &mut T) -> Result<P, Self::Error>

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.

Implementors§