pub struct AlwaysOffSampler;Expand description
全量不采样器:始终返回 NotRecord
Implementations§
Trait Implementations§
Source§impl Clone for AlwaysOffSampler
impl Clone for AlwaysOffSampler
Source§fn clone(&self) -> AlwaysOffSampler
fn clone(&self) -> AlwaysOffSampler
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 AlwaysOffSampler
impl Debug for AlwaysOffSampler
Source§impl Default for AlwaysOffSampler
impl Default for AlwaysOffSampler
Source§fn default() -> AlwaysOffSampler
fn default() -> AlwaysOffSampler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlwaysOffSampler
impl RefUnwindSafe for AlwaysOffSampler
impl Send for AlwaysOffSampler
impl Sync for AlwaysOffSampler
impl Unpin for AlwaysOffSampler
impl UnsafeUnpin for AlwaysOffSampler
impl UnwindSafe for AlwaysOffSampler
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