pub struct AnyHandler { /* private fields */ }Expand description
Type-erased Handler handle
What the router stores and dispatches on. Cloning shares the underlying handler.
Implementations§
Trait Implementations§
Source§impl Clone for AnyHandler
impl Clone for AnyHandler
Source§fn clone(&self) -> AnyHandler
fn clone(&self) -> AnyHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for AnyHandler
impl !UnwindSafe for AnyHandler
impl Freeze for AnyHandler
impl Send for AnyHandler
impl Sync for AnyHandler
impl Unpin for AnyHandler
impl UnsafeUnpin for AnyHandler
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