pub struct MockHandler {}Expand description
This is used as a fake or mock handler.
It is a filler for Handler::Custom(label).create(). It is also used
in examples for custom handlers.
Trait Implementations§
Source§impl Debug for MockHandler
impl Debug for MockHandler
Source§impl Default for MockHandler
impl Default for MockHandler
Source§fn default() -> MockHandler
fn default() -> MockHandler
Returns the “default value” for a type. Read more
Source§impl Display for MockHandler
impl Display for MockHandler
Source§impl HandlerTrait for MockHandler
impl HandlerTrait for MockHandler
Auto Trait Implementations§
impl Freeze for MockHandler
impl RefUnwindSafe for MockHandler
impl Send for MockHandler
impl Sync for MockHandler
impl Unpin for MockHandler
impl UnwindSafe for MockHandler
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