Enum MlMetricError
pub enum MlMetricError {
Empty,
NonFinite,
UnknownLabel,
}Variants§
Trait Implementations§
§impl Clone for MlMetricError
impl Clone for MlMetricError
§fn clone(&self) -> MlMetricError
fn clone(&self) -> MlMetricError
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 more§impl Debug for MlMetricError
impl Debug for MlMetricError
§impl Display for MlMetricError
impl Display for MlMetricError
§impl Error for MlMetricError
impl Error for MlMetricError
1.30.0 · 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()
§impl PartialEq for MlMetricError
impl PartialEq for MlMetricError
impl Copy for MlMetricError
impl Eq for MlMetricError
impl StructuralPartialEq for MlMetricError
Auto Trait Implementations§
impl Freeze for MlMetricError
impl RefUnwindSafe for MlMetricError
impl Send for MlMetricError
impl Sync for MlMetricError
impl Unpin for MlMetricError
impl UnsafeUnpin for MlMetricError
impl UnwindSafe for MlMetricError
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