pub struct PerMessageKeyAndNonces {
pub key: SensitiveBytes,
pub nonce: SensitiveBytes,
pub reuse_guard: ReuseGuard,
pub sender_leaf_index: LeafIndex,
}
Available on crate feature
draft-mahy-mls-semiprivatemessage
only.Expand description
struct {
opaque key<V>;
opaque nonce<V>;
opaque reuse_guard[4];
uint32 sender_leaf_index;
} PerMessageKeyAndNonces;
Fields§
§key: SensitiveBytes
§nonce: SensitiveBytes
§reuse_guard: ReuseGuard
§sender_leaf_index: LeafIndex
Trait Implementations§
Source§impl Clone for PerMessageKeyAndNonces
impl Clone for PerMessageKeyAndNonces
Source§fn clone(&self) -> PerMessageKeyAndNonces
fn clone(&self) -> PerMessageKeyAndNonces
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 PerMessageKeyAndNonces
impl Debug for PerMessageKeyAndNonces
Source§impl<'de> Deserialize<'de> for PerMessageKeyAndNonces
impl<'de> Deserialize<'de> for PerMessageKeyAndNonces
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 PerMessageKeyAndNonces
impl Deserialize for PerMessageKeyAndNonces
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 PerMessageKeyAndNonces
impl PartialEq for PerMessageKeyAndNonces
Source§impl Serialize for &PerMessageKeyAndNonces
impl Serialize for &PerMessageKeyAndNonces
Source§impl Serialize for PerMessageKeyAndNonces
impl Serialize for PerMessageKeyAndNonces
Source§impl Serialize for PerMessageKeyAndNonces
impl Serialize for PerMessageKeyAndNonces
Source§impl Size for &PerMessageKeyAndNonces
impl Size for &PerMessageKeyAndNonces
fn tls_serialized_len(&self) -> usize
Source§impl Size for PerMessageKeyAndNonces
impl Size for PerMessageKeyAndNonces
fn tls_serialized_len(&self) -> usize
impl Eq for PerMessageKeyAndNonces
impl StructuralPartialEq for PerMessageKeyAndNonces
Auto Trait Implementations§
impl Freeze for PerMessageKeyAndNonces
impl RefUnwindSafe for PerMessageKeyAndNonces
impl Send for PerMessageKeyAndNonces
impl Sync for PerMessageKeyAndNonces
impl Unpin for PerMessageKeyAndNonces
impl UnwindSafe for PerMessageKeyAndNonces
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