pub enum BougieError {
Network {
operation: String,
detail: String,
},
IndexSignature {
url: String,
trust_root_fingerprint: String,
reason: String,
hint: String,
},
ManifestHashMismatch {
url: String,
expected: String,
actual: String,
},
BlobHashMismatch {
url: String,
expected: String,
actual: String,
},
Resolution {
kind: String,
detail: String,
},
UnknownTarget {
triple: String,
hint: String,
},
YankedSelected {
tag: String,
reason: String,
},
LockHeld {
path: String,
pid: u32,
},
Filesystem {
operation: String,
detail: String,
},
SelfUpdate {
detail: String,
},
}Variants§
Network
IndexSignature
ManifestHashMismatch
BlobHashMismatch
Resolution
UnknownTarget
YankedSelected
LockHeld
Filesystem
SelfUpdate
Implementations§
Trait Implementations§
Source§impl Debug for BougieError
impl Debug for BougieError
Source§impl Display for BougieError
impl Display for BougieError
Source§impl Error for BougieError
impl Error for BougieError
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 BougieError
impl RefUnwindSafe for BougieError
impl Send for BougieError
impl Sync for BougieError
impl Unpin for BougieError
impl UnsafeUnpin for BougieError
impl UnwindSafe for BougieError
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