pub struct HandlerFn<F>{ /* private fields */ }
Expand description
Holds a function to dispatch to via its impl of Handler<E>
.
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for HandlerFn<F>where
F: Freeze,
impl<F> RefUnwindSafe for HandlerFn<F>where
F: RefUnwindSafe,
impl<F> Send for HandlerFn<F>where
F: Send,
impl<F> Sync for HandlerFn<F>where
F: Sync,
impl<F> Unpin for HandlerFn<F>where
F: Unpin,
impl<F> UnwindSafe for HandlerFn<F>where
F: UnwindSafe,
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