pub struct HandlerFunc(/* private fields */);Expand description
Primary handler type (newtype; no alias to avoid ambiguity).
Implementations§
Trait Implementations§
Source§impl Clone for HandlerFunc
impl Clone for HandlerFunc
Source§fn clone(&self) -> HandlerFunc
fn clone(&self) -> HandlerFunc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F, Fut> From<F> for HandlerFunc
impl<F, Fut> From<F> for HandlerFunc
Source§impl IntoHandler for HandlerFunc
impl IntoHandler for HandlerFunc
fn into_handler(self) -> HandlerFunc
Auto Trait Implementations§
impl Freeze for HandlerFunc
impl !RefUnwindSafe for HandlerFunc
impl Send for HandlerFunc
impl Sync for HandlerFunc
impl Unpin for HandlerFunc
impl !UnwindSafe for HandlerFunc
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