pub enum OciDigestError {
Empty,
MissingSeparator,
InvalidAlgorithm,
InvalidValue,
InvalidSha256Length,
}Expand description
Errors returned while parsing OCI digest text.
Variants§
Trait Implementations§
Source§impl Clone for OciDigestError
impl Clone for OciDigestError
Source§fn clone(&self) -> OciDigestError
fn clone(&self) -> OciDigestError
Returns a duplicate of the value. Read more
1.0.0 · 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 OciDigestError
impl Debug for OciDigestError
Source§impl Display for OciDigestError
impl Display for OciDigestError
Source§impl Error for OciDigestError
impl Error for OciDigestError
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()
Source§impl PartialEq for OciDigestError
impl PartialEq for OciDigestError
impl Copy for OciDigestError
impl Eq for OciDigestError
impl StructuralPartialEq for OciDigestError
Auto Trait Implementations§
impl Freeze for OciDigestError
impl RefUnwindSafe for OciDigestError
impl Send for OciDigestError
impl Sync for OciDigestError
impl Unpin for OciDigestError
impl UnsafeUnpin for OciDigestError
impl UnwindSafe for OciDigestError
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