pub struct RecordingSink {
pub records: Mutex<Vec<RemoteTellRecord>>,
}Expand description
Test-only sink that buffers every received RemoteTell for later
inspection. Public so binding-side tests can use it.
Fields§
§records: Mutex<Vec<RemoteTellRecord>>Trait Implementations§
Source§impl Default for RecordingSink
impl Default for RecordingSink
Source§fn default() -> RecordingSink
fn default() -> RecordingSink
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RecordingSink
impl !RefUnwindSafe for RecordingSink
impl Send for RecordingSink
impl Sync for RecordingSink
impl Unpin for RecordingSink
impl UnsafeUnpin for RecordingSink
impl UnwindSafe for RecordingSink
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