pub struct Canned { /* private fields */ }Expand description
A canned client: replies decided in advance, requests kept.
The seam’s second implementation, and a seam with one implementation is an abstraction nobody has checked. It is also what a Rust-level test uses when it wants to assert what a program sent, which a stub in Beck cannot see.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Canned
impl RefUnwindSafe for Canned
impl Send for Canned
impl Sync for Canned
impl Unpin for Canned
impl UnwindSafe for Canned
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