pub enum Advice {
Return,
Retry,
}
Expand description
Re-export aspect-rs
’s types to avoid crates depending on it.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more