pub struct NullEventProcessorBuilder {}
Expand description
An implementation of EventProcessorFactory that will discard all events received. This should only be used for unit tests.
Implementations§
source§impl NullEventProcessorBuilder
impl NullEventProcessorBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new NullEventProcessorBuilder with all default values.
Trait Implementations§
source§impl Clone for NullEventProcessorBuilder
impl Clone for NullEventProcessorBuilder
source§fn clone(&self) -> NullEventProcessorBuilder
fn clone(&self) -> NullEventProcessorBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NullEventProcessorBuilder
impl RefUnwindSafe for NullEventProcessorBuilder
impl Send for NullEventProcessorBuilder
impl Sync for NullEventProcessorBuilder
impl Unpin for NullEventProcessorBuilder
impl UnwindSafe for NullEventProcessorBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)