pub struct AppDataDictionaryExtension { /* private fields */ }Available on crate feature
extensions-draft-08 and (32-bit or 64-bit) only.Expand description
App Data Dictionary Extension.
https://datatracker.ietf.org/doc/html/draft-ietf-mls-extensions#section-4.6-3
Implementations§
Source§impl AppDataDictionaryExtension
impl AppDataDictionaryExtension
Sourcepub fn dictionary(&self) -> &AppDataDictionary
pub fn dictionary(&self) -> &AppDataDictionary
Return the AppDataDictionary from this extension.
Sourcepub fn new(dictionary: AppDataDictionary) -> Self
pub fn new(dictionary: AppDataDictionary) -> Self
Build a new extension from an AppDataDictionary.
Trait Implementations§
Source§impl Clone for AppDataDictionaryExtension
impl Clone for AppDataDictionaryExtension
Source§fn clone(&self) -> AppDataDictionaryExtension
fn clone(&self) -> AppDataDictionaryExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AppDataDictionaryExtension
impl Debug for AppDataDictionaryExtension
Source§impl Default for AppDataDictionaryExtension
impl Default for AppDataDictionaryExtension
Source§fn default() -> AppDataDictionaryExtension
fn default() -> AppDataDictionaryExtension
Returns the “default value” for a type. Read more
Source§impl Deserialize for AppDataDictionaryExtension
impl Deserialize for AppDataDictionaryExtension
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl<'de> Deserialize<'de> for AppDataDictionaryExtension
impl<'de> Deserialize<'de> for AppDataDictionaryExtension
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 DeserializeBytes for AppDataDictionaryExtension
impl DeserializeBytes for AppDataDictionaryExtension
impl Eq for AppDataDictionaryExtension
Source§impl PartialEq for AppDataDictionaryExtension
impl PartialEq for AppDataDictionaryExtension
Source§fn eq(&self, other: &AppDataDictionaryExtension) -> bool
fn eq(&self, other: &AppDataDictionaryExtension) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AppDataDictionaryExtension
impl Serialize for AppDataDictionaryExtension
Source§impl Serialize for &AppDataDictionaryExtension
impl Serialize for &AppDataDictionaryExtension
Source§impl Size for AppDataDictionaryExtension
impl Size for AppDataDictionaryExtension
fn tls_serialized_len(&self) -> usize
Source§impl Size for &AppDataDictionaryExtension
impl Size for &AppDataDictionaryExtension
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for AppDataDictionaryExtension
Auto Trait Implementations§
impl Freeze for AppDataDictionaryExtension
impl RefUnwindSafe for AppDataDictionaryExtension
impl Send for AppDataDictionaryExtension
impl Sync for AppDataDictionaryExtension
impl Unpin for AppDataDictionaryExtension
impl UnsafeUnpin for AppDataDictionaryExtension
impl UnwindSafe for AppDataDictionaryExtension
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more