[][src]Struct structural::field::errors::FailedAccess

pub struct FailedAccess;

The error type for accesses to fields that may not exist,most often inside an enum.

This is used as the Err associated type for Rev*Field* implementors, which return a Result<_,FailedAccess>, then StructuralExt methods use NormalizeFields to turn Ok(foo) into Some(foo),and Err(FailedAccess) into None.

Trait Implementations

impl Clone for FailedAccess[src]

impl Cloned for FailedAccess[src]

type Cloned = Self

The type of this with owned values instead of references to them.

impl Copy for FailedAccess[src]

impl Debug for FailedAccess[src]

impl Display for FailedAccess[src]

impl Eq for FailedAccess[src]

impl Error for FailedAccess[src]

impl From<InfallibleAccess> for FailedAccess[src]

impl Hash for FailedAccess[src]

impl IntoFieldErr<FailedAccess> for InfallibleAccess[src]

impl IsFieldErr for FailedAccess[src]

impl Ord for FailedAccess[src]

impl PartialEq<FailedAccess> for FailedAccess[src]

impl PartialOrd<FailedAccess> for FailedAccess[src]

impl StructuralEq for FailedAccess[src]

impl StructuralPartialEq for FailedAccess[src]

Auto Trait Implementations

Blanket Implementations

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

impl<This, T> Array0<T> for This where
    This: ?Sized
[src]

impl<This, V, T> Array0Variant<T, V> for This where
    This: ?Sized
[src]

impl<This, T> ArrayMove0<T> for This where
    This: ?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> IntoFieldErr<T> for T where
    T: IsFieldErr
[src]

impl<This, T> IntoStructural<T> for This where
    T: FromStructural<This>, 
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

The error type returned when the conversion fails.

impl<This, T> TryIntoStructural<T> for This where
    T: TryFromStructural<This>, 
[src]

type Error = <T as TryFromStructural<This>>::Error

The error parameter of TryFromError, returned from try_into_structural on conversion error. Read more

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

type Type = T

The same type as Self. Read more