pub struct EchoHandler;Expand description
Test handler: replies {"type": kind, "payload": payload}, and refuses test.fail with “refused test.fail”.
Trait Implementations§
Auto Trait Implementations§
impl Forget for EchoHandler
impl Freeze for EchoHandler
impl Move for EchoHandler
impl RefUnwindSafe for EchoHandler
impl Send for EchoHandler
impl Sync for EchoHandler
impl Unpin for EchoHandler
impl UnsafeUnpin for EchoHandler
impl UnwindSafe for EchoHandler
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