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