pub enum DatastoreError {
Show 15 variants
NoCredential {
host: String,
},
CredentialRejected {
host: String,
status: u16,
looks_expired: bool,
},
ContentRejected {
key: ArtifactKey,
failure: CheckFailure,
},
OfflineMiss {
key: ArtifactKey,
},
MirrorUnreachable {
key: ArtifactKey,
reason: String,
},
ManualRequired {
key: ArtifactKey,
instructions: String,
},
AllSourcesFailed {
key: ArtifactKey,
attempts: Vec<String>,
},
InvalidKey(String),
Mirror(String),
Config(String),
FillUnavailable(String),
TransferLimit,
Manifest(String),
Io(Error),
Http(Error),
}Variants§
NoCredential
CredentialRejected
ContentRejected
OfflineMiss
Fields
§
key: ArtifactKeyMirrorUnreachable
ManualRequired
AllSourcesFailed
InvalidKey(String)
Mirror(String)
Config(String)
TransferLimit
Manifest(String)
Io(Error)
Http(Error)
Trait Implementations§
Source§impl Debug for DatastoreError
impl Debug for DatastoreError
Source§impl Display for DatastoreError
impl Display for DatastoreError
Source§impl Error for DatastoreError
impl Error for DatastoreError
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()
Source§impl From<Error> for DatastoreError
impl From<Error> for DatastoreError
Auto Trait Implementations§
impl !RefUnwindSafe for DatastoreError
impl !UnwindSafe for DatastoreError
impl Freeze for DatastoreError
impl Send for DatastoreError
impl Sync for DatastoreError
impl Unpin for DatastoreError
impl UnsafeUnpin for DatastoreError
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