pub enum LeafNodeLifetimePolicy {
Verify,
Skip,
}Available on 32-bit or 64-bit only.
Expand description
Verify or skip the validation of leaf node lifetimes in the ratchet tree when joining a group.
Variants§
Verify
Verify the lifetime of leaf nodes in the ratchet tree.
NOTE: Only leaf nodes that have never been updated have a lifetime.
Skip
Skip the verification of the lifeimte in leaf nodes in the ratchet tree.
Trait Implementations§
Source§impl Clone for LeafNodeLifetimePolicy
impl Clone for LeafNodeLifetimePolicy
Source§fn clone(&self) -> LeafNodeLifetimePolicy
fn clone(&self) -> LeafNodeLifetimePolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeafNodeLifetimePolicy
impl Debug for LeafNodeLifetimePolicy
Source§impl Default for LeafNodeLifetimePolicy
impl Default for LeafNodeLifetimePolicy
Source§fn default() -> LeafNodeLifetimePolicy
fn default() -> LeafNodeLifetimePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeafNodeLifetimePolicy
impl<'de> Deserialize<'de> for LeafNodeLifetimePolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LeafNodeLifetimePolicy
impl PartialEq for LeafNodeLifetimePolicy
Source§impl Serialize for LeafNodeLifetimePolicy
impl Serialize for LeafNodeLifetimePolicy
impl Copy for LeafNodeLifetimePolicy
impl Eq for LeafNodeLifetimePolicy
impl StructuralPartialEq for LeafNodeLifetimePolicy
Auto Trait Implementations§
impl Freeze for LeafNodeLifetimePolicy
impl RefUnwindSafe for LeafNodeLifetimePolicy
impl Send for LeafNodeLifetimePolicy
impl Sync for LeafNodeLifetimePolicy
impl Unpin for LeafNodeLifetimePolicy
impl UnsafeUnpin for LeafNodeLifetimePolicy
impl UnwindSafe for LeafNodeLifetimePolicy
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<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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