Enum dropshot::ProbeRegistration
source · pub enum ProbeRegistration {
Disabled,
Succeeded,
Failed(String),
}
Expand description
The result of registering a server’s DTrace USDT probes.
Variants§
Disabled
The probes are explicitly disabled at compile time.
Succeeded
Probes were successfully registered.
Failed(String)
Registration failed, with an error message explaining the cause.
Trait Implementations§
source§impl Clone for ProbeRegistration
impl Clone for ProbeRegistration
source§fn clone(&self) -> ProbeRegistration
fn clone(&self) -> ProbeRegistration
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 ProbeRegistration
impl Debug for ProbeRegistration
source§impl PartialEq for ProbeRegistration
impl PartialEq for ProbeRegistration
source§fn eq(&self, other: &ProbeRegistration) -> bool
fn eq(&self, other: &ProbeRegistration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProbeRegistration
Auto Trait Implementations§
impl RefUnwindSafe for ProbeRegistration
impl Send for ProbeRegistration
impl Sync for ProbeRegistration
impl Unpin for ProbeRegistration
impl UnwindSafe for ProbeRegistration
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