pub enum DockerLabelError {
EmptyKey,
InvalidKey,
InvalidValue,
}Expand description
Error returned when Docker label text is invalid.
Variants§
EmptyKey
The label key was empty.
InvalidKey
The label key contained unsupported syntax.
InvalidValue
The label value contained a NUL byte.
Trait Implementations§
Source§impl Clone for DockerLabelError
impl Clone for DockerLabelError
Source§fn clone(&self) -> DockerLabelError
fn clone(&self) -> DockerLabelError
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 DockerLabelError
impl Debug for DockerLabelError
Source§impl Display for DockerLabelError
impl Display for DockerLabelError
Source§impl Error for DockerLabelError
impl Error for DockerLabelError
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 DockerLabelError
impl PartialEq for DockerLabelError
impl Copy for DockerLabelError
impl Eq for DockerLabelError
impl StructuralPartialEq for DockerLabelError
Auto Trait Implementations§
impl Freeze for DockerLabelError
impl RefUnwindSafe for DockerLabelError
impl Send for DockerLabelError
impl Sync for DockerLabelError
impl Unpin for DockerLabelError
impl UnsafeUnpin for DockerLabelError
impl UnwindSafe for DockerLabelError
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