pub struct ClassificationError(pub String);Expand description
Custom ClassificationError, used when there was an incorrect status code for the classification endpoint.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for ClassificationError
impl Debug for ClassificationError
Source§impl Display for ClassificationError
impl Display for ClassificationError
Source§impl Error for ClassificationError
impl Error for ClassificationError
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()
Auto Trait Implementations§
impl Freeze for ClassificationError
impl RefUnwindSafe for ClassificationError
impl Send for ClassificationError
impl Sync for ClassificationError
impl Unpin for ClassificationError
impl UnwindSafe for ClassificationError
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