pub enum Sink {
Stderr,
Memory(Arc<Mutex<Vec<String>>>),
}Expand description
Where trace lines go.
Variants§
Stderr
One line per event on stderr, beside the prose log.
Memory(Arc<Mutex<Vec<String>>>)
Collected in memory — for tests that read their own trace.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sink
impl RefUnwindSafe for Sink
impl Send for Sink
impl Sync for Sink
impl Unpin for Sink
impl UnsafeUnpin for Sink
impl UnwindSafe for Sink
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