pub enum ConfigError {
Show 39 variants
ConfigFileNotFound(String),
NoConfigFileFound,
InvalidYAML(String),
SchemaValidation(String),
SemanticValidation(String),
ReferenceNotFound,
PathNotFound,
UnresolvedVariablePath(String),
MissingVersion,
InvalidVersion,
DeprecatedVersion,
InvalidClusterDriver(String),
DriverNotLiteral(String),
K3sDisableNotLiteral(String),
InvalidMemoryFormat(String),
InvalidNamespace(String),
InvalidRepoType(String),
InvalidKubeType(String),
OverrideVersionMismatch,
ExtendsNotList,
ExtendsItemNotString,
FragmentHasExtends,
CircularExtends,
DuplicateExtends(String),
FragmentOutsideDir,
InvalidFragmentName,
RemoteFragmentFetch(String),
RemoteFragmentDirRef,
RepoFragmentOnlyReloaders,
RepoFragmentWrongRepository {
name: String,
repo: String,
expected: String,
},
RepoFragmentDuplicateReloader(String),
UnsupportedVersion,
UpgradeLoop,
AlreadyMigrated,
InvalidRepositoryRef,
RegistryMirrorEndpointMissingHost,
RegistryMirrorEndpointMissingPort,
RegistryMirrorManagedEndpoint,
UnresolvedRepositoryRefVariable,
}Variants§
ConfigFileNotFound(String)
NoConfigFileFound
InvalidYAML(String)
SchemaValidation(String)
SemanticValidation(String)
ReferenceNotFound
PathNotFound
UnresolvedVariablePath(String)
MissingVersion
InvalidVersion
DeprecatedVersion
InvalidClusterDriver(String)
DriverNotLiteral(String)
K3sDisableNotLiteral(String)
InvalidMemoryFormat(String)
InvalidNamespace(String)
InvalidRepoType(String)
InvalidKubeType(String)
OverrideVersionMismatch
ExtendsNotList
ExtendsItemNotString
FragmentHasExtends
CircularExtends
DuplicateExtends(String)
FragmentOutsideDir
InvalidFragmentName
RemoteFragmentFetch(String)
RemoteFragmentDirRef
RepoFragmentOnlyReloaders
RepoFragmentWrongRepository
RepoFragmentDuplicateReloader(String)
UnsupportedVersion
UpgradeLoop
AlreadyMigrated
InvalidRepositoryRef
RegistryMirrorEndpointMissingHost
RegistryMirrorEndpointMissingPort
RegistryMirrorManagedEndpoint
UnresolvedRepositoryRefVariable
Trait Implementations§
Source§impl Debug for ConfigError
impl Debug for ConfigError
Source§impl Display for ConfigError
impl Display for ConfigError
impl Eq for ConfigError
Source§impl Error for ConfigError
impl Error for ConfigError
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 ConfigError
impl PartialEq for ConfigError
Source§fn eq(&self, other: &ConfigError) -> bool
fn eq(&self, other: &ConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigError
Auto Trait Implementations§
impl Freeze for ConfigError
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnsafeUnpin for ConfigError
impl UnwindSafe for ConfigError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.