pub enum ReversalPolicy {
Irreversible,
Effect(Symbol),
}Expand description
Policy describing whether and how an effect can be reversed.
Variants§
Irreversible
No reversal exists.
Effect(Symbol)
Invoke the named registered effect to reverse this effect.
Trait Implementations§
Source§impl Clone for ReversalPolicy
impl Clone for ReversalPolicy
Source§fn clone(&self) -> ReversalPolicy
fn clone(&self) -> ReversalPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReversalPolicy
impl Debug for ReversalPolicy
impl Eq for ReversalPolicy
Source§impl PartialEq for ReversalPolicy
impl PartialEq for ReversalPolicy
impl StructuralPartialEq for ReversalPolicy
Auto Trait Implementations§
impl Freeze for ReversalPolicy
impl RefUnwindSafe for ReversalPolicy
impl Send for ReversalPolicy
impl Sync for ReversalPolicy
impl Unpin for ReversalPolicy
impl UnsafeUnpin for ReversalPolicy
impl UnwindSafe for ReversalPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more