#[non_exhaustive]pub enum ZeroizeConfigurationErrorReason {
ReflectionParent,
UnknownFieldStorage,
RawMapKey,
BufferRepresentation,
JsonPolicy,
}Expand description
Why a selected message cannot use recursive cleanup.
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.
ReflectionParent
Ordinary reflection would copy a guarded descendant into a dynamic snapshot.
UnknownFieldStorage
Unknown payload storage is not a wipe owner.
RawMapKey
Strict UTF-8 mapping cannot select a custom raw map key.
BufferRepresentation
A buffer still has its ordinary representation.
JsonPolicy
A guarded representation could use default JSON decoding.
Trait Implementations§
impl Copy for ZeroizeConfigurationErrorReason
impl Eq for ZeroizeConfigurationErrorReason
Source§impl Error for ZeroizeConfigurationErrorReason
impl Error for ZeroizeConfigurationErrorReason
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()
impl StructuralPartialEq for ZeroizeConfigurationErrorReason
Auto Trait Implementations§
impl Forget for ZeroizeConfigurationErrorReason
impl Freeze for ZeroizeConfigurationErrorReason
impl Move for ZeroizeConfigurationErrorReason
impl RefUnwindSafe for ZeroizeConfigurationErrorReason
impl Send for ZeroizeConfigurationErrorReason
impl Sync for ZeroizeConfigurationErrorReason
impl Unpin for ZeroizeConfigurationErrorReason
impl UnsafeUnpin for ZeroizeConfigurationErrorReason
impl UnwindSafe for ZeroizeConfigurationErrorReason
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