pub enum LayerError {
InvalidMediaType,
}Expand description
Errors returned when OCI layer metadata is invalid.
Variants§
InvalidMediaType
Trait Implementations§
Source§impl Clone for LayerError
impl Clone for LayerError
Source§fn clone(&self) -> LayerError
fn clone(&self) -> LayerError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayerError
impl Debug for LayerError
Source§impl Display for LayerError
impl Display for LayerError
Source§impl Error for LayerError
impl Error for LayerError
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 LayerError
impl PartialEq for LayerError
Source§fn eq(&self, other: &LayerError) -> bool
fn eq(&self, other: &LayerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LayerError
impl Eq for LayerError
impl StructuralPartialEq for LayerError
Auto Trait Implementations§
impl Freeze for LayerError
impl RefUnwindSafe for LayerError
impl Send for LayerError
impl Sync for LayerError
impl Unpin for LayerError
impl UnsafeUnpin for LayerError
impl UnwindSafe for LayerError
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