pub enum RuntimeSamplerRegistrationError {
DuplicateStart,
}Expand description
Error returned when registering Tokio runtime sampler metadata.
Variants§
DuplicateStart
A runtime sampler was already registered for this run.
Trait Implementations§
Source§impl Clone for RuntimeSamplerRegistrationError
impl Clone for RuntimeSamplerRegistrationError
Source§fn clone(&self) -> RuntimeSamplerRegistrationError
fn clone(&self) -> RuntimeSamplerRegistrationError
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 PartialEq for RuntimeSamplerRegistrationError
impl PartialEq for RuntimeSamplerRegistrationError
Source§fn eq(&self, other: &RuntimeSamplerRegistrationError) -> bool
fn eq(&self, other: &RuntimeSamplerRegistrationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RuntimeSamplerRegistrationError
impl Eq for RuntimeSamplerRegistrationError
impl StructuralPartialEq for RuntimeSamplerRegistrationError
Auto Trait Implementations§
impl Freeze for RuntimeSamplerRegistrationError
impl RefUnwindSafe for RuntimeSamplerRegistrationError
impl Send for RuntimeSamplerRegistrationError
impl Sync for RuntimeSamplerRegistrationError
impl Unpin for RuntimeSamplerRegistrationError
impl UnsafeUnpin for RuntimeSamplerRegistrationError
impl UnwindSafe for RuntimeSamplerRegistrationError
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