Enum bulwark_config::ConfigFileError
source · pub enum ConfigFileError {
Show 16 variants
IO(Error),
ConfigNotFound(String),
IncludedConfigNotFound(String),
PluginNotFound(String),
Deserialization(Error),
Validation(ValidationError),
Validations(ValidationErrors),
Resolution(ResolutionError),
InvalidRemoteUri(ParseError),
InsecureRemoteUri(String),
MissingParent(String),
CircularInclude(String),
Duplicate(String),
InvalidSecretConfig(String),
InvalidPluginConfig(String),
InvalidResourceConfig(String),
}
Expand description
This error will be returned if an attempt to load Bulwark’s configuration file fails.
Variants§
IO(Error)
ConfigNotFound(String)
IncludedConfigNotFound(String)
PluginNotFound(String)
Deserialization(Error)
Validation(ValidationError)
Validations(ValidationErrors)
Resolution(ResolutionError)
InvalidRemoteUri(ParseError)
InsecureRemoteUri(String)
MissingParent(String)
CircularInclude(String)
Duplicate(String)
InvalidSecretConfig(String)
InvalidPluginConfig(String)
InvalidResourceConfig(String)
Trait Implementations§
source§impl Debug for ConfigFileError
impl Debug for ConfigFileError
source§impl Display for ConfigFileError
impl Display for ConfigFileError
source§impl Error for ConfigFileError
impl Error for ConfigFileError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for ConfigFileError
impl From<Error> for ConfigFileError
source§impl From<Error> for ConfigFileError
impl From<Error> for ConfigFileError
source§impl From<ParseError> for ConfigFileError
impl From<ParseError> for ConfigFileError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ResolutionError> for ConfigFileError
impl From<ResolutionError> for ConfigFileError
source§fn from(source: ResolutionError) -> Self
fn from(source: ResolutionError) -> Self
Converts to this type from the input type.
source§impl From<ValidationError> for ConfigFileError
impl From<ValidationError> for ConfigFileError
source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
source§impl From<ValidationErrors> for ConfigFileError
impl From<ValidationErrors> for ConfigFileError
source§fn from(source: ValidationErrors) -> Self
fn from(source: ValidationErrors) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigFileError
impl !RefUnwindSafe for ConfigFileError
impl Send for ConfigFileError
impl Sync for ConfigFileError
impl Unpin for ConfigFileError
impl !UnwindSafe for ConfigFileError
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more