pub struct CollectingObserver { /* private fields */ }Expand description
A simple observer that collects events into a vector (useful for testing)
Implementations§
Trait Implementations§
Source§impl Debug for CollectingObserver
impl Debug for CollectingObserver
Source§impl Default for CollectingObserver
impl Default for CollectingObserver
Source§fn default() -> CollectingObserver
fn default() -> CollectingObserver
Returns the “default value” for a type. Read more
Source§impl HiveObserver for CollectingObserver
Available on crate feature std only.
impl HiveObserver for CollectingObserver
Available on crate feature
std only.Auto Trait Implementations§
impl !Freeze for CollectingObserver
impl RefUnwindSafe for CollectingObserver
impl Send for CollectingObserver
impl Sync for CollectingObserver
impl Unpin for CollectingObserver
impl UnwindSafe for CollectingObserver
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