pub enum CliErrorKind {
NotFound,
Spawn,
Timeout,
Exit(i32),
BadJson,
}Variants§
NotFound
No abstractcore binary was found anywhere.
Spawn
The process could not be spawned (permissions, broken venv).
Timeout
The process outlived its deadline and was killed.
Exit(i32)
Nonzero exit; the message carries the CLI’s own error line.
BadJson
Exit 0 but stdout was not the JSON we asked for.
Trait Implementations§
Source§impl Clone for CliErrorKind
impl Clone for CliErrorKind
Source§impl Debug for CliErrorKind
impl Debug for CliErrorKind
Source§impl PartialEq for CliErrorKind
impl PartialEq for CliErrorKind
impl StructuralPartialEq for CliErrorKind
Auto Trait Implementations§
impl Freeze for CliErrorKind
impl RefUnwindSafe for CliErrorKind
impl Send for CliErrorKind
impl Sync for CliErrorKind
impl Unpin for CliErrorKind
impl UnsafeUnpin for CliErrorKind
impl UnwindSafe for CliErrorKind
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