pub enum KtoolError {
InvalidArguments {
tool: &'static str,
source: Error,
},
UnsupportedTool(String),
Classifier(Error),
}Expand description
Failure from the complete in-process Ktool workflow.
Variants§
InvalidArguments
The exact operation argument object could not be decoded.
Fields
UnsupportedTool(String)
The requested operation is not one of KTOOLS.
Classifier(Error)
The classifier rejected or could not persist the operation.
Trait Implementations§
Source§impl Debug for KtoolError
impl Debug for KtoolError
Source§impl Display for KtoolError
impl Display for KtoolError
Source§impl Error for KtoolError
impl Error for KtoolError
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 !RefUnwindSafe for KtoolError
impl !UnwindSafe for KtoolError
impl Freeze for KtoolError
impl Send for KtoolError
impl Sync for KtoolError
impl Unpin for KtoolError
impl UnsafeUnpin for KtoolError
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