#[non_exhaustive]pub enum ProbeBuilderError {
ProbeBuild(ProbeError),
MutuallyExclusive(String),
Required(String),
}Expand description
ProbeBuilder runtime errors.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProbeBuild(ProbeError)
Error while creating a new Probe instance.
MutuallyExclusive(String)
Error if two mutually exclusive setter functions are called.
Required(String)
Error if failed to call a mandatory setter function.
Trait Implementations§
Source§impl Clone for ProbeBuilderError
impl Clone for ProbeBuilderError
Source§fn clone(&self) -> ProbeBuilderError
fn clone(&self) -> ProbeBuilderError
Returns a duplicate 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 ProbeBuilderError
impl Debug for ProbeBuilderError
Source§impl Display for ProbeBuilderError
impl Display for ProbeBuilderError
Source§impl Error for ProbeBuilderError
impl Error for ProbeBuilderError
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<ProbeBuilderError> for RsBlkidError
impl From<ProbeBuilderError> for RsBlkidError
Source§fn from(source: ProbeBuilderError) -> Self
fn from(source: ProbeBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<ProbeError> for ProbeBuilderError
impl From<ProbeError> for ProbeBuilderError
Source§fn from(source: ProbeError) -> Self
fn from(source: ProbeError) -> Self
Converts to this type from the input type.
Source§impl Hash for ProbeBuilderError
impl Hash for ProbeBuilderError
Source§impl Ord for ProbeBuilderError
impl Ord for ProbeBuilderError
Source§fn cmp(&self, other: &ProbeBuilderError) -> Ordering
fn cmp(&self, other: &ProbeBuilderError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProbeBuilderError
impl PartialEq for ProbeBuilderError
Source§impl PartialOrd for ProbeBuilderError
impl PartialOrd for ProbeBuilderError
impl Eq for ProbeBuilderError
impl StructuralPartialEq for ProbeBuilderError
Auto Trait Implementations§
impl Freeze for ProbeBuilderError
impl RefUnwindSafe for ProbeBuilderError
impl Send for ProbeBuilderError
impl Sync for ProbeBuilderError
impl Unpin for ProbeBuilderError
impl UnwindSafe for ProbeBuilderError
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