pub struct RecorderBuilder { /* private fields */ }Expand description
Builder for creating recorders.
Implementations§
Source§impl RecorderBuilder
impl RecorderBuilder
Sourcepub const fn max_duration(self, duration: Duration) -> Self
pub const fn max_duration(self, duration: Duration) -> Self
Set maximum duration.
Sourcepub const fn max_events(self, count: usize) -> Self
pub const fn max_events(self, count: usize) -> Self
Set maximum events.
Trait Implementations§
Source§impl Debug for RecorderBuilder
impl Debug for RecorderBuilder
Source§impl Default for RecorderBuilder
impl Default for RecorderBuilder
Source§fn default() -> RecorderBuilder
fn default() -> RecorderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecorderBuilder
impl RefUnwindSafe for RecorderBuilder
impl Send for RecorderBuilder
impl Sync for RecorderBuilder
impl Unpin for RecorderBuilder
impl UnwindSafe for RecorderBuilder
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