[][src]Enum metered::metric::Advice

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 Send for Advice

impl Sync for Advice

Blanket Implementations

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

impl<T> From<T> for 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]