Struct lens_rs::optics::_Err[][src]

pub struct _Err<Optic>(pub Optic);

Trait Implementations

impl<Optic: Clone> Clone for _Err<Optic>[src]

impl<Optic: Copy> Copy for _Err<Optic>[src]

impl<Optic: Debug> Debug for _Err<Optic>[src]

impl<Optic: Eq> Eq for _Err<Optic>[src]

impl<Optic: PartialEq> PartialEq<_Err<Optic>> for _Err<Optic>[src]

impl<Pm, T, E> Prism<Result<T, E>> for _Err<Pm> where
    Pm: Prism<E>, 
[src]

impl<Pm, T, E> PrismMut<Result<T, E>> for _Err<Pm> where
    Pm: PrismMut<E>, 
[src]

impl<Pm, T, E> PrismRef<Result<T, E>> for _Err<Pm> where
    Pm: PrismRef<E>, 
[src]

type To = Pm::To

impl<Rv, T, E> Review<Result<T, E>> for _Err<Rv> where
    Rv: Review<E>, 
[src]

type From = Rv::From

impl<Optic> StructuralEq for _Err<Optic>[src]

impl<Optic> StructuralPartialEq for _Err<Optic>[src]

impl<Tr, T, E> Traversal<Result<T, E>> for _Err<Tr> where
    Tr: Traversal<E>, 
[src]

impl<Tr, T, E> TraversalMut<Result<T, E>> for _Err<Tr> where
    Tr: TraversalMut<E>, 
[src]

impl<Tr, T, E> TraversalRef<Result<T, E>> for _Err<Tr> where
    Tr: TraversalRef<E>, 
[src]

type To = Tr::To

Auto Trait Implementations

impl<Optic> RefUnwindSafe for _Err<Optic> where
    Optic: RefUnwindSafe

impl<Optic> Send for _Err<Optic> where
    Optic: Send

impl<Optic> Sync for _Err<Optic> where
    Optic: Sync

impl<Optic> Unpin for _Err<Optic> where
    Optic: Unpin

impl<Optic> UnwindSafe for _Err<Optic> where
    Optic: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.