Parse

Trait Parse 

Source
pub trait Parse {
    type Output<B>
       where B: SplitByteSlice;

    // Required method
    fn parse<B>(bytes: B) -> Option<Self::Output<B>>
       where B: SplitByteSlice;
}

Required Associated Types§

Source

type Output<B> where B: SplitByteSlice

Required Methods§

Source

fn parse<B>(bytes: B) -> Option<Self::Output<B>>
where B: SplitByteSlice,

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§