pub enum DockerRegistryError {
Empty,
InvalidRegistry,
InvalidRepository,
}Expand description
Error returned when registry or repository reference text is invalid.
Variants§
Empty
The value was empty after trimming.
InvalidRegistry
Registry host text used unsupported syntax.
InvalidRepository
Repository path text used unsupported syntax.
Trait Implementations§
Source§impl Clone for DockerRegistryError
impl Clone for DockerRegistryError
Source§fn clone(&self) -> DockerRegistryError
fn clone(&self) -> DockerRegistryError
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 DockerRegistryError
impl Debug for DockerRegistryError
Source§impl Display for DockerRegistryError
impl Display for DockerRegistryError
Source§impl Error for DockerRegistryError
impl Error for DockerRegistryError
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 DockerRegistryError
impl PartialEq for DockerRegistryError
Source§fn eq(&self, other: &DockerRegistryError) -> bool
fn eq(&self, other: &DockerRegistryError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DockerRegistryError
impl Eq for DockerRegistryError
impl StructuralPartialEq for DockerRegistryError
Auto Trait Implementations§
impl Freeze for DockerRegistryError
impl RefUnwindSafe for DockerRegistryError
impl Send for DockerRegistryError
impl Sync for DockerRegistryError
impl Unpin for DockerRegistryError
impl UnsafeUnpin for DockerRegistryError
impl UnwindSafe for DockerRegistryError
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