pub enum PlanError {
Show 19 variants
Parse(Error),
Serialize(Error),
UnsupportedApiVersion(String),
UnexpectedKind(String),
InvalidPlanName(String),
InvalidSecretName(String),
DuplicateSecretName(String),
DuplicateBackend(String),
MockBackendInProductionPlan,
ZeroLengthPassword,
PasswordExceedsMaxLength {
requested: u8,
cap: u8,
},
ZeroLengthPreSharedKey,
ZeroLengthToken,
ZeroValidityDays,
InvalidTokenPrefix(String),
NonAbsoluteSopsFile(String),
EmptySopsYamlPath,
InvalidAkeylessPath(String),
EmptyPlan,
}Variants§
Parse(Error)
Serialize(Error)
UnsupportedApiVersion(String)
UnexpectedKind(String)
InvalidPlanName(String)
InvalidSecretName(String)
DuplicateSecretName(String)
DuplicateBackend(String)
MockBackendInProductionPlan
ZeroLengthPassword
PasswordExceedsMaxLength
ZeroLengthToken
ZeroValidityDays
InvalidTokenPrefix(String)
NonAbsoluteSopsFile(String)
EmptySopsYamlPath
InvalidAkeylessPath(String)
EmptyPlan
Trait Implementations§
Source§impl Error for PlanError
impl Error for PlanError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for PlanError
impl !UnwindSafe for PlanError
impl Freeze for PlanError
impl Send for PlanError
impl Sync for PlanError
impl Unpin for PlanError
impl UnsafeUnpin for PlanError
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