pub struct MockBase(/* private fields */);Expand description
A loopback base ending /1.3. The field is private, so the only way to hold
one is Endpoint::mock — which is what makes “a fake pointed at a real
host” unrepresentable rather than merely refused.
Implementations§
Trait Implementations§
impl Eq for MockBase
impl StructuralPartialEq for MockBase
Auto Trait Implementations§
impl Freeze for MockBase
impl RefUnwindSafe for MockBase
impl Send for MockBase
impl Sync for MockBase
impl Unpin for MockBase
impl UnsafeUnpin for MockBase
impl UnwindSafe for MockBase
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