Enum aspect::Advice[][src]

pub enum Advice {
    Return,
    Retry,
}

An Advice describes what the aspect should do on return

Variants

Return

Return the expression value

Retry

Call the expression again.

Experimental. Use with caution regarding side-effects in the expression and possible loops.

Auto Trait Implementations

impl RefUnwindSafe for Advice

impl Send for Advice

impl Sync for Advice

impl Unpin for Advice

impl UnwindSafe for Advice

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, 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.