pub struct MockLoggingPlugin { /* private fields */ }Expand description
Mock-Logger: sammelt alle Events in einem MockLogSink, damit Tests
die Events nachtraeglich inspizieren koennen.
Implementations§
Source§impl MockLoggingPlugin
impl MockLoggingPlugin
Sourcepub fn new(sink: MockLogSink) -> Self
pub fn new(sink: MockLogSink) -> Self
Konstruktor.
Trait Implementations§
Source§impl LoggingPlugin for MockLoggingPlugin
Available on crate feature std only.
impl LoggingPlugin for MockLoggingPlugin
Available on crate feature
std only.Auto Trait Implementations§
impl Freeze for MockLoggingPlugin
impl RefUnwindSafe for MockLoggingPlugin
impl Send for MockLoggingPlugin
impl Sync for MockLoggingPlugin
impl Unpin for MockLoggingPlugin
impl UnsafeUnpin for MockLoggingPlugin
impl UnwindSafe for MockLoggingPlugin
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