pub struct ClassifyError { /* private fields */ }Expand description
A stable classification failure with the underlying schema or classifier diagnostics.
Implementations§
Source§impl ClassifyError
impl ClassifyError
Sourcepub fn side(&self) -> &'static str
pub fn side(&self) -> &'static str
Returns which classification stage failed: base, submitted, or pairing.
Sourcepub fn diagnostics(&self) -> &Diagnostics
pub fn diagnostics(&self) -> &Diagnostics
Returns the schema or classifier diagnostics without changing their order or rendering.
Trait Implementations§
Source§impl Debug for ClassifyError
impl Debug for ClassifyError
Source§impl Display for ClassifyError
impl Display for ClassifyError
Source§impl Error for ClassifyError
impl Error for ClassifyError
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 ClassifyError
impl RefUnwindSafe for ClassifyError
impl Send for ClassifyError
impl Sync for ClassifyError
impl Unpin for ClassifyError
impl UnsafeUnpin for ClassifyError
impl UnwindSafe for ClassifyError
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