pub enum RegistryBuildError {
Descriptor(DescriptorError),
DuplicateLabel {
label: String,
first: String,
second: String,
},
}Expand description
A descriptor source set that cannot form a registry. Only embedded and
--harness-file sources can produce this — discovered layer files fail
soft (skipped with a warning in [BuiltRegistry::warnings]) so a broken
user descriptor never bricks the CLI.
Variants§
Trait Implementations§
Source§impl Debug for RegistryBuildError
impl Debug for RegistryBuildError
Source§impl Display for RegistryBuildError
impl Display for RegistryBuildError
Source§impl Error for RegistryBuildError
impl Error for RegistryBuildError
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<DescriptorError> for RegistryBuildError
impl From<DescriptorError> for RegistryBuildError
Source§fn from(source: DescriptorError) -> Self
fn from(source: DescriptorError) -> Self
Converts to this type from the input type.
Source§impl From<RegistryBuildError> for RegistryInitError
impl From<RegistryBuildError> for RegistryInitError
Source§fn from(source: RegistryBuildError) -> Self
fn from(source: RegistryBuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegistryBuildError
impl RefUnwindSafe for RegistryBuildError
impl Send for RegistryBuildError
impl Sync for RegistryBuildError
impl Unpin for RegistryBuildError
impl UnsafeUnpin for RegistryBuildError
impl UnwindSafe for RegistryBuildError
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