#[repr(u8)]pub enum RatchetTreeRepresentation {
Reserved = 0,
Full = 1,
HttpsUri = 2,
OutOfBand = 3,
DistributionService = 4,
}
Available on crate feature
draft-mahy-mls-ratchet-tree-options
only.Variants§
Trait Implementations§
Source§impl Clone for RatchetTreeRepresentation
impl Clone for RatchetTreeRepresentation
Source§fn clone(&self) -> RatchetTreeRepresentation
fn clone(&self) -> RatchetTreeRepresentation
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 RatchetTreeRepresentation
impl Debug for RatchetTreeRepresentation
Source§impl<'de> Deserialize<'de> for RatchetTreeRepresentation
impl<'de> Deserialize<'de> for RatchetTreeRepresentation
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 Deserialize for RatchetTreeRepresentation
impl Deserialize for RatchetTreeRepresentation
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 Serialize for &RatchetTreeRepresentation
impl Serialize for &RatchetTreeRepresentation
Source§impl Size for &RatchetTreeRepresentation
impl Size for &RatchetTreeRepresentation
fn tls_serialized_len(&self) -> usize
Source§impl Size for RatchetTreeRepresentation
impl Size for RatchetTreeRepresentation
fn tls_serialized_len(&self) -> usize
impl Copy for RatchetTreeRepresentation
impl Eq for RatchetTreeRepresentation
impl StructuralPartialEq for RatchetTreeRepresentation
Auto Trait Implementations§
impl Freeze for RatchetTreeRepresentation
impl RefUnwindSafe for RatchetTreeRepresentation
impl Send for RatchetTreeRepresentation
impl Sync for RatchetTreeRepresentation
impl Unpin for RatchetTreeRepresentation
impl UnwindSafe for RatchetTreeRepresentation
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