pub enum OciError {
Show 17 variants
InvalidReference {
reference: String,
},
AuthFailed {
registry: String,
message: String,
},
RequestFailed {
message: String,
},
BlobUploadFailed {
digest: String,
message: String,
},
ManifestPushFailed {
message: String,
},
ManifestNotFound {
reference: String,
},
BlobNotFound {
digest: String,
},
ModuleYamlNotFound {
dir: PathBuf,
},
SignatureRequired {
reference: String,
},
ArchiveError {
message: String,
},
BuildError {
message: String,
},
SigningError {
message: String,
},
VerificationFailed {
reference: String,
message: String,
},
AttestationError {
message: String,
},
ToolNotFound {
tool: String,
},
Io(Error),
Json(Error),
}Variants§
InvalidReference
AuthFailed
RequestFailed
BlobUploadFailed
ManifestPushFailed
ManifestNotFound
BlobNotFound
ModuleYamlNotFound
SignatureRequired
ArchiveError
BuildError
SigningError
VerificationFailed
AttestationError
ToolNotFound
Io(Error)
Json(Error)
Trait Implementations§
Source§impl Error for OciError
impl Error for OciError
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 OciError
impl !RefUnwindSafe for OciError
impl Send for OciError
impl Sync for OciError
impl Unpin for OciError
impl UnsafeUnpin for OciError
impl !UnwindSafe for OciError
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