pub enum Error {
Missing {
component: Component,
},
Invalid {
component: Component,
path: PathBuf,
source: Error,
},
Selection {
component: Component,
path: PathBuf,
},
Incompatible {
tool: String,
receipt: PathBuf,
},
Signal(Error),
Process {
component: Component,
source: Error,
},
Timeout,
Cancelled,
InvalidResponse,
OutputTooLarge,
Failed,
Rejected {
component: Component,
code: String,
detail: Option<String>,
},
}Expand description
Structured component failures never imply that a repository or source is clean.
Variants§
Missing
Invalid
Selection
Incompatible
Signal(Error)
Process
Timeout
Cancelled
InvalidResponse
OutputTooLarge
Failed
Rejected
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
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