pub trait ProbeError:
Error
+ Send
+ Sync
+ Any { }Expand description
Marker trait for all probe errors.
Trait Implementations§
Source§impl Error for Box<dyn ProbeError>
impl Error for Box<dyn ProbeError>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Box<dyn ProbeError>> for BoxedProbeError
impl From<Box<dyn ProbeError>> for BoxedProbeError
Source§fn from(source: Box<dyn ProbeError>) -> Self
fn from(source: Box<dyn ProbeError>) -> Self
Converts to this type from the input type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".