pub struct EffectHandler<E, A, B> { /* private fields */ }Expand description
An effect handler that handles effect type E and produces B.
Implementations§
Source§impl<E: 'static, A: 'static, B: 'static> EffectHandler<E, A, B>
impl<E: 'static, A: 'static, B: 'static> EffectHandler<E, A, B>
Auto Trait Implementations§
impl<E, A, B> Freeze for EffectHandler<E, A, B>
impl<E, A, B> !RefUnwindSafe for EffectHandler<E, A, B>
impl<E, A, B> !Send for EffectHandler<E, A, B>
impl<E, A, B> !Sync for EffectHandler<E, A, B>
impl<E, A, B> Unpin for EffectHandler<E, A, B>
impl<E, A, B> UnsafeUnpin for EffectHandler<E, A, B>
impl<E, A, B> !UnwindSafe for EffectHandler<E, A, B>
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