pub struct AlwaysSample;Expand description
Policy that keeps every event. The default for TelemetryHook.
Trait Implementations§
Source§impl Clone for AlwaysSample
impl Clone for AlwaysSample
Source§fn clone(&self) -> AlwaysSample
fn clone(&self) -> AlwaysSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlwaysSample
impl Debug for AlwaysSample
Source§impl Default for AlwaysSample
impl Default for AlwaysSample
Source§fn default() -> AlwaysSample
fn default() -> AlwaysSample
Returns the “default value” for a type. Read more
Source§impl SamplingPolicy for AlwaysSample
impl SamplingPolicy for AlwaysSample
impl Copy for AlwaysSample
Auto Trait Implementations§
impl Freeze for AlwaysSample
impl RefUnwindSafe for AlwaysSample
impl Send for AlwaysSample
impl Sync for AlwaysSample
impl Unpin for AlwaysSample
impl UnsafeUnpin for AlwaysSample
impl UnwindSafe for AlwaysSample
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