[][src]Enum ensure::CheckEnsureResult

pub enum CheckEnsureResult<M, A> {
    Met(M),
    EnsureAction(A),
}

Result of verification if object is in target state with check_ensure()

Variants

Met(M)EnsureAction(A)

Trait Implementations

impl<M: Debug, A: Debug> Debug for CheckEnsureResult<M, A>[src]

Auto Trait Implementations

impl<M, A> Send for CheckEnsureResult<M, A> where
    A: Send,
    M: Send

impl<M, A> Unpin for CheckEnsureResult<M, A> where
    A: Unpin,
    M: Unpin

impl<M, A> Sync for CheckEnsureResult<M, A> where
    A: Sync,
    M: Sync

impl<M, A> RefUnwindSafe for CheckEnsureResult<M, A> where
    A: RefUnwindSafe,
    M: RefUnwindSafe

impl<M, A> UnwindSafe for CheckEnsureResult<M, A> where
    A: UnwindSafe,
    M: UnwindSafe

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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