Enum oci_client::errors::DigestError
source · pub enum DigestError {
InvalidHeader(ToStrError),
UnsupportedAlgorithm(String),
MissingAlgorithm,
VerificationError {
expected: String,
actual: String,
},
}
Expand description
Errors that can occur when validating digests
Variants§
InvalidHeader(ToStrError)
Invalid digest header
UnsupportedAlgorithm(String)
Invalid digest algorithm found
MissingAlgorithm
Missing digest algorithm
VerificationError
Digest verification failed
Trait Implementations§
source§impl Debug for DigestError
impl Debug for DigestError
source§impl Display for DigestError
impl Display for DigestError
source§impl Error for DigestError
impl Error for DigestError
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<DigestError> for OciDistributionError
impl From<DigestError> for OciDistributionError
source§fn from(source: DigestError) -> Self
fn from(source: DigestError) -> Self
Converts to this type from the input type.
source§impl From<ToStrError> for DigestError
impl From<ToStrError> for DigestError
source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DigestError
impl RefUnwindSafe for DigestError
impl Send for DigestError
impl Sync for DigestError
impl Unpin for DigestError
impl UnwindSafe for DigestError
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