pub enum DapolConfigError {
EntitiesError(EntitiesParserError),
MasterSecretParseError(SecretParserError),
MasterSecretFileParseError(SecretsParserError),
CannotFindMasterSecret,
SaltParseError(SaltParserError),
BuildError(DapolTreeError),
UnknownFileType(OsString),
UnsupportedFileType {
ext: String,
},
FileReadError(Error),
DeserializationError(Error),
}Expand description
Errors encountered when parsing DapolConfig.
Variants§
EntitiesError(EntitiesParserError)
MasterSecretParseError(SecretParserError)
MasterSecretFileParseError(SecretsParserError)
CannotFindMasterSecret
SaltParseError(SaltParserError)
BuildError(DapolTreeError)
UnknownFileType(OsString)
UnsupportedFileType
FileReadError(Error)
DeserializationError(Error)
Trait Implementations§
Source§impl Debug for DapolConfigError
impl Debug for DapolConfigError
Source§impl Display for DapolConfigError
impl Display for DapolConfigError
Source§impl Error for DapolConfigError
impl Error for DapolConfigError
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<DapolTreeError> for DapolConfigError
impl From<DapolTreeError> for DapolConfigError
Source§fn from(source: DapolTreeError) -> Self
fn from(source: DapolTreeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DapolConfigError
impl From<Error> for DapolConfigError
Source§impl From<Error> for DapolConfigError
impl From<Error> for DapolConfigError
Source§impl From<SecretParserError> for DapolConfigError
impl From<SecretParserError> for DapolConfigError
Source§fn from(source: SecretParserError) -> Self
fn from(source: SecretParserError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DapolConfigError
impl !UnwindSafe for DapolConfigError
impl Freeze for DapolConfigError
impl Send for DapolConfigError
impl Sync for DapolConfigError
impl Unpin for DapolConfigError
impl UnsafeUnpin for DapolConfigError
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
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