pub enum MlInferenceError {
Empty,
NonFinite,
OutOfRange,
UnknownLabel,
}Variants§
Trait Implementations§
Source§impl Clone for MlInferenceError
impl Clone for MlInferenceError
Source§fn clone(&self) -> MlInferenceError
fn clone(&self) -> MlInferenceError
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 Debug for MlInferenceError
impl Debug for MlInferenceError
Source§impl Display for MlInferenceError
impl Display for MlInferenceError
Source§impl Error for MlInferenceError
impl Error for MlInferenceError
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()
Source§impl PartialEq for MlInferenceError
impl PartialEq for MlInferenceError
Source§fn eq(&self, other: &MlInferenceError) -> bool
fn eq(&self, other: &MlInferenceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MlInferenceError
impl Eq for MlInferenceError
impl StructuralPartialEq for MlInferenceError
Auto Trait Implementations§
impl Freeze for MlInferenceError
impl RefUnwindSafe for MlInferenceError
impl Send for MlInferenceError
impl Sync for MlInferenceError
impl Unpin for MlInferenceError
impl UnsafeUnpin for MlInferenceError
impl UnwindSafe for MlInferenceError
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