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