#[non_exhaustive]pub enum ChildRunKeyError {
CanonicalSerialization,
DigestMismatch,
}Expand description
Failure constructing or restoring a logical child ownership key.
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.
CanonicalSerialization
The closed integrity preimage could not be encoded canonically.
DigestMismatch
Stored identity fields no longer match their integrity fingerprint.
Trait Implementations§
Source§impl Clone for ChildRunKeyError
impl Clone for ChildRunKeyError
Source§impl Debug for ChildRunKeyError
impl Debug for ChildRunKeyError
Source§impl Display for ChildRunKeyError
impl Display for ChildRunKeyError
impl Eq for ChildRunKeyError
Source§impl Error for ChildRunKeyError
impl Error for ChildRunKeyError
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()
Source§impl PartialEq for ChildRunKeyError
impl PartialEq for ChildRunKeyError
impl StructuralPartialEq for ChildRunKeyError
Auto Trait Implementations§
impl Forget for ChildRunKeyError
impl Freeze for ChildRunKeyError
impl Move for ChildRunKeyError
impl RefUnwindSafe for ChildRunKeyError
impl Send for ChildRunKeyError
impl Sync for ChildRunKeyError
impl Unpin for ChildRunKeyError
impl UnsafeUnpin for ChildRunKeyError
impl UnwindSafe for ChildRunKeyError
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