pub struct NoOpProxyObserver;Expand description
A no-op observer that discards all events.
Trait Implementations§
Source§impl ProxyObserver for NoOpProxyObserver
impl ProxyObserver for NoOpProxyObserver
Source§fn on_event(&self, _event: &ProxyEvent)
fn on_event(&self, _event: &ProxyEvent)
Called for each event emitted by the proxy.
Source§fn wants_events(&self) -> bool
fn wants_events(&self) -> bool
Whether this observer cares about events. Read more
Auto Trait Implementations§
impl Freeze for NoOpProxyObserver
impl RefUnwindSafe for NoOpProxyObserver
impl Send for NoOpProxyObserver
impl Sync for NoOpProxyObserver
impl Unpin for NoOpProxyObserver
impl UnsafeUnpin for NoOpProxyObserver
impl UnwindSafe for NoOpProxyObserver
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