#[repr(u8)]pub enum LeafNodeSource {
KeyPackage {
lifetime: KeyPackageLifetime,
},
Update,
Commit {
parent_hash: SensitiveBytes,
},
}
Variants§
Trait Implementations§
Source§impl Clone for LeafNodeSource
impl Clone for LeafNodeSource
Source§fn clone(&self) -> LeafNodeSource
fn clone(&self) -> LeafNodeSource
Returns a copy 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 LeafNodeSource
impl Debug for LeafNodeSource
Source§impl Deserialize for LeafNodeSource
impl Deserialize for LeafNodeSource
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl From<&LeafNodeSource> for LeafNodeSourceType
impl From<&LeafNodeSource> for LeafNodeSourceType
Source§fn from(value: &LeafNodeSource) -> Self
fn from(value: &LeafNodeSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LeafNodeSource
impl PartialEq for LeafNodeSource
Source§impl Serialize for &LeafNodeSource
impl Serialize for &LeafNodeSource
Source§impl Serialize for LeafNodeSource
impl Serialize for LeafNodeSource
Source§impl Size for &LeafNodeSource
impl Size for &LeafNodeSource
fn tls_serialized_len(&self) -> usize
Source§impl Size for LeafNodeSource
impl Size for LeafNodeSource
fn tls_serialized_len(&self) -> usize
impl Eq for LeafNodeSource
impl StructuralPartialEq for LeafNodeSource
Auto Trait Implementations§
impl Freeze for LeafNodeSource
impl RefUnwindSafe for LeafNodeSource
impl Send for LeafNodeSource
impl Sync for LeafNodeSource
impl Unpin for LeafNodeSource
impl UnwindSafe for LeafNodeSource
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