pub enum CfgdError {
Show 13 variants
Config(ConfigError),
File(FileError),
Package(PackageError),
Secret(SecretError),
State(StateError),
Daemon(DaemonError),
Source(SourceError),
Composition(Box<CompositionError>),
Upgrade(UpgradeError),
Module(ModuleError),
Generate(GenerateError),
Oci(OciError),
Io(Error),
}Variants§
Config(ConfigError)
File(FileError)
Package(PackageError)
Secret(SecretError)
State(StateError)
Daemon(DaemonError)
Source(SourceError)
Composition(Box<CompositionError>)
Upgrade(UpgradeError)
Module(ModuleError)
Generate(GenerateError)
Oci(OciError)
Io(Error)
Trait Implementations§
Source§impl Error for CfgdError
impl Error for CfgdError
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<CompositionError> for CfgdError
impl From<CompositionError> for CfgdError
Source§fn from(e: CompositionError) -> Self
fn from(e: CompositionError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for CfgdError
impl From<ConfigError> for CfgdError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<DaemonError> for CfgdError
impl From<DaemonError> for CfgdError
Source§fn from(source: DaemonError) -> Self
fn from(source: DaemonError) -> Self
Converts to this type from the input type.
Source§impl From<GenerateError> for CfgdError
impl From<GenerateError> for CfgdError
Source§fn from(source: GenerateError) -> Self
fn from(source: GenerateError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleError> for CfgdError
impl From<ModuleError> for CfgdError
Source§fn from(source: ModuleError) -> Self
fn from(source: ModuleError) -> Self
Converts to this type from the input type.
Source§impl From<PackageError> for CfgdError
impl From<PackageError> for CfgdError
Source§fn from(source: PackageError) -> Self
fn from(source: PackageError) -> Self
Converts to this type from the input type.
Source§impl From<SecretError> for CfgdError
impl From<SecretError> for CfgdError
Source§fn from(source: SecretError) -> Self
fn from(source: SecretError) -> Self
Converts to this type from the input type.
Source§impl From<SourceError> for CfgdError
impl From<SourceError> for CfgdError
Source§fn from(source: SourceError) -> Self
fn from(source: SourceError) -> Self
Converts to this type from the input type.
Source§impl From<StateError> for CfgdError
impl From<StateError> for CfgdError
Source§fn from(source: StateError) -> Self
fn from(source: StateError) -> Self
Converts to this type from the input type.
Source§impl From<UpgradeError> for CfgdError
impl From<UpgradeError> for CfgdError
Source§fn from(source: UpgradeError) -> Self
fn from(source: UpgradeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CfgdError
impl !RefUnwindSafe for CfgdError
impl Send for CfgdError
impl Sync for CfgdError
impl Unpin for CfgdError
impl UnsafeUnpin for CfgdError
impl !UnwindSafe for CfgdError
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