pub struct InMemorySink { /* private fields */ }Expand description
In-memory sink that collects every recorded StepFact.
Useful for tests and for tooling that wants to inspect the fact stream without going through disk.
Implementations§
Trait Implementations§
Source§impl Debug for InMemorySink
impl Debug for InMemorySink
Source§impl Default for InMemorySink
impl Default for InMemorySink
Source§fn default() -> InMemorySink
fn default() -> InMemorySink
Returns the “default value” for a type. Read more
Source§impl TranscriptSink for InMemorySink
impl TranscriptSink for InMemorySink
Auto Trait Implementations§
impl Freeze for InMemorySink
impl RefUnwindSafe for InMemorySink
impl Send for InMemorySink
impl Sync for InMemorySink
impl Unpin for InMemorySink
impl UnsafeUnpin for InMemorySink
impl UnwindSafe for InMemorySink
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