#[repr(u8)]pub enum LeafNodeSourceType {
Reserved = 0,
KeyPackage = 1,
Update = 2,
Commit = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for LeafNodeSourceType
impl Clone for LeafNodeSourceType
Source§fn clone(&self) -> LeafNodeSourceType
fn clone(&self) -> LeafNodeSourceType
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 LeafNodeSourceType
impl Debug for LeafNodeSourceType
Source§impl Deserialize for LeafNodeSourceType
impl Deserialize for LeafNodeSourceType
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 Display for LeafNodeSourceType
impl Display for LeafNodeSourceType
Source§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 LeafNodeSourceType
impl PartialEq for LeafNodeSourceType
Source§impl Serialize for &LeafNodeSourceType
impl Serialize for &LeafNodeSourceType
Source§impl Serialize for LeafNodeSourceType
impl Serialize for LeafNodeSourceType
Source§impl Size for &LeafNodeSourceType
impl Size for &LeafNodeSourceType
fn tls_serialized_len(&self) -> usize
Source§impl Size for LeafNodeSourceType
impl Size for LeafNodeSourceType
fn tls_serialized_len(&self) -> usize
impl Copy for LeafNodeSourceType
impl Eq for LeafNodeSourceType
impl StructuralPartialEq for LeafNodeSourceType
Auto Trait Implementations§
impl Freeze for LeafNodeSourceType
impl RefUnwindSafe for LeafNodeSourceType
impl Send for LeafNodeSourceType
impl Sync for LeafNodeSourceType
impl Unpin for LeafNodeSourceType
impl UnwindSafe for LeafNodeSourceType
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