Struct nommy::bytes::OneOfError[][src]

pub struct OneOfError<const BYTES: &'static [u8]>(_);

Error type returned by OneOf's parse function

Trait Implementations

impl<const BYTES: &'static [u8]> Debug for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> Display for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> Error for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> PartialEq<OneOfError<BYTES>> for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> StructuralPartialEq for OneOfError<BYTES>[src]

Auto Trait Implementations

impl<const BYTES: &'static [u8]> RefUnwindSafe for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> Send for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> Sync for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> Unpin for OneOfError<BYTES>[src]

impl<const BYTES: &'static [u8]> UnwindSafe for OneOfError<BYTES>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.