pub struct StubTransport { /* private fields */ }
Expand description
This transport logs messages and always returns the given response
Implementations§
Trait Implementations§
Source§impl Clone for StubTransport
impl Clone for StubTransport
Source§fn clone(&self) -> StubTransport
fn clone(&self) -> StubTransport
Returns a copy 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 Debug for StubTransport
impl Debug for StubTransport
Source§impl Transport for StubTransport
impl Transport for StubTransport
Auto Trait Implementations§
impl Freeze for StubTransport
impl RefUnwindSafe for StubTransport
impl Send for StubTransport
impl Sync for StubTransport
impl Unpin for StubTransport
impl UnwindSafe for StubTransport
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