pub struct DefaultOnEos { /* private fields */ }
Available on crate feature
trace
only.Implementations§
Source§impl DefaultOnEos
impl DefaultOnEos
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new DefaultOnEos
.
Sourcepub fn level(self, level: Level) -> Self
pub fn level(self, level: Level) -> Self
Set the Level
used for tracing events.
Defaults to Level::DEBUG
.
Sourcepub fn latency_unit(self, latency_unit: LatencyUnit) -> Self
pub fn latency_unit(self, latency_unit: LatencyUnit) -> Self
Set the LatencyUnit
latencies will be reported in.
Defaults to LatencyUnit::Millis
.
Trait Implementations§
Source§impl Clone for DefaultOnEos
impl Clone for DefaultOnEos
Source§fn clone(&self) -> DefaultOnEos
fn clone(&self) -> DefaultOnEos
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 moreSource§impl Debug for DefaultOnEos
impl Debug for DefaultOnEos
Source§impl Default for DefaultOnEos
impl Default for DefaultOnEos
Auto Trait Implementations§
impl Freeze for DefaultOnEos
impl RefUnwindSafe for DefaultOnEos
impl Send for DefaultOnEos
impl Sync for DefaultOnEos
impl Unpin for DefaultOnEos
impl UnwindSafe for DefaultOnEos
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