pub enum ExecuteError {
Io {
doing: String,
reason: String,
},
Extract {
package: String,
reason: String,
},
Ledger {
reason: String,
},
}Variants§
Io
Extract
Usually a CRC mismatch; the package stays installing in the ledger,
so the next run cleans up after it.
Ledger
Implementations§
Source§impl ExecuteError
impl ExecuteError
pub(super) fn io(doing: impl Into<String>, error: impl Display) -> ExecuteError
pub(super) fn extract(package: &str, reason: impl Display) -> ExecuteError
pub(crate) fn ledger(error: Error) -> ExecuteError
Trait Implementations§
Source§impl Clone for ExecuteError
impl Clone for ExecuteError
Source§fn clone(&self) -> ExecuteError
fn clone(&self) -> ExecuteError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecuteError
impl Debug for ExecuteError
Source§impl Display for ExecuteError
impl Display for ExecuteError
impl Eq for ExecuteError
Source§impl PartialEq for ExecuteError
impl PartialEq for ExecuteError
impl StructuralPartialEq for ExecuteError
Auto Trait Implementations§
impl Freeze for ExecuteError
impl RefUnwindSafe for ExecuteError
impl Send for ExecuteError
impl Sync for ExecuteError
impl Unpin for ExecuteError
impl UnsafeUnpin for ExecuteError
impl UnwindSafe for ExecuteError
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