pub struct HandlerFn<F, Fut>{ /* private fields */ }Expand description
Wrapper for function-based handlers with no arguments
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F, Fut> Freeze for HandlerFn<F, Fut>where
F: Freeze,
impl<F, Fut> RefUnwindSafe for HandlerFn<F, Fut>where
F: RefUnwindSafe,
impl<F, Fut> Send for HandlerFn<F, Fut>
impl<F, Fut> Sync for HandlerFn<F, Fut>
impl<F, Fut> Unpin for HandlerFn<F, Fut>where
F: Unpin,
impl<F, Fut> UnwindSafe for HandlerFn<F, Fut>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