pub struct CompositeReporter { /* private fields */ }Implementations§
Source§impl CompositeReporter
impl CompositeReporter
pub fn new() -> Self
pub fn with_observer(self, observer: impl LoopObserver + 'static) -> Self
pub fn push(&mut self, observer: impl LoopObserver + 'static) -> &mut Self
Trait Implementations§
Source§impl Default for CompositeReporter
impl Default for CompositeReporter
Source§fn default() -> CompositeReporter
fn default() -> CompositeReporter
Returns the “default value” for a type. Read more
Source§impl LoopObserver for CompositeReporter
impl LoopObserver for CompositeReporter
fn handle_event(&mut self, event: AgentEvent)
Auto Trait Implementations§
impl Freeze for CompositeReporter
impl !RefUnwindSafe for CompositeReporter
impl Send for CompositeReporter
impl !Sync for CompositeReporter
impl Unpin for CompositeReporter
impl UnsafeUnpin for CompositeReporter
impl !UnwindSafe for CompositeReporter
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