pub struct DenyAllEffects;Expand description
A handler that fails any effect call. Useful as a default for pure-only runs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DenyAllEffects
impl RefUnwindSafe for DenyAllEffects
impl Send for DenyAllEffects
impl Sync for DenyAllEffects
impl Unpin for DenyAllEffects
impl UnsafeUnpin for DenyAllEffects
impl UnwindSafe for DenyAllEffects
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