#[repr(u8)]pub enum RatchetTreeOption {
Full {
ratchet_tree: RatchetTree,
},
HttpsUri {
ratchet_tree_url: String,
tree_signature: Vec<u8>,
},
OutOfBand {
tree_signature: Vec<u8>,
},
DistributionService,
}
Available on crate feature
draft-mahy-mls-ratchet-tree-options
only.Variants§
Trait Implementations§
Source§impl Clone for RatchetTreeOption
impl Clone for RatchetTreeOption
Source§fn clone(&self) -> RatchetTreeOption
fn clone(&self) -> RatchetTreeOption
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 RatchetTreeOption
impl Debug for RatchetTreeOption
Source§impl<'de> Deserialize<'de> for RatchetTreeOption
impl<'de> Deserialize<'de> for RatchetTreeOption
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 RatchetTreeOption
impl Deserialize for RatchetTreeOption
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 RatchetTreeOption
impl PartialEq for RatchetTreeOption
Source§impl Serialize for &RatchetTreeOption
impl Serialize for &RatchetTreeOption
Source§impl Serialize for RatchetTreeOption
impl Serialize for RatchetTreeOption
Source§impl Serialize for RatchetTreeOption
impl Serialize for RatchetTreeOption
Source§impl Size for &RatchetTreeOption
impl Size for &RatchetTreeOption
fn tls_serialized_len(&self) -> usize
Source§impl Size for RatchetTreeOption
impl Size for RatchetTreeOption
fn tls_serialized_len(&self) -> usize
impl Eq for RatchetTreeOption
impl StructuralPartialEq for RatchetTreeOption
Auto Trait Implementations§
impl Freeze for RatchetTreeOption
impl RefUnwindSafe for RatchetTreeOption
impl Send for RatchetTreeOption
impl Sync for RatchetTreeOption
impl Unpin for RatchetTreeOption
impl UnwindSafe for RatchetTreeOption
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