#[non_exhaustive]pub enum InceptionError {
KeyGeneration(String),
Kel(KelError),
Storage(RegistryError),
Validation(ValidationError),
Serialization(String),
}Expand description
Error type for inception operations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
KeyGeneration(String)
Kel(KelError)
Storage(RegistryError)
Validation(ValidationError)
Serialization(String)
Trait Implementations§
Source§impl AuthsErrorInfo for InceptionError
impl AuthsErrorInfo for InceptionError
Source§fn error_code(&self) -> &'static str
fn error_code(&self) -> &'static str
Returns a unique error code string for this error variant.
Source§fn suggestion(&self) -> Option<&'static str>
fn suggestion(&self) -> Option<&'static str>
Returns an optional actionable suggestion for resolving the error.
Source§impl Debug for InceptionError
impl Debug for InceptionError
Source§impl Display for InceptionError
impl Display for InceptionError
Source§impl Error for InceptionError
impl Error for InceptionError
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<KelError> for InceptionError
impl From<KelError> for InceptionError
Source§impl From<ValidationError> for InceptionError
impl From<ValidationError> for InceptionError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InceptionError
impl !RefUnwindSafe for InceptionError
impl Send for InceptionError
impl Sync for InceptionError
impl Unpin for InceptionError
impl UnsafeUnpin for InceptionError
impl !UnwindSafe for InceptionError
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