pub struct RecordingCallback { /* private fields */ }Expand description
A callback handler that records all received events for later inspection, useful for testing.
Implementations§
Trait Implementations§
Source§impl CallbackHandler for RecordingCallback
impl CallbackHandler for RecordingCallback
Source§impl Clone for RecordingCallback
impl Clone for RecordingCallback
Source§fn clone(&self) -> RecordingCallback
fn clone(&self) -> RecordingCallback
Returns a duplicate 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 moreSource§impl Default for RecordingCallback
impl Default for RecordingCallback
Source§fn default() -> RecordingCallback
fn default() -> RecordingCallback
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecordingCallback
impl !RefUnwindSafe for RecordingCallback
impl Send for RecordingCallback
impl Sync for RecordingCallback
impl Unpin for RecordingCallback
impl UnsafeUnpin for RecordingCallback
impl !UnwindSafe for RecordingCallback
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