Struct mls_rs::group::GroupContext
source · pub struct GroupContext { /* private fields */ }
Implementations§
source§impl GroupContext
impl GroupContext
sourcepub fn version(&self) -> ProtocolVersion
pub fn version(&self) -> ProtocolVersion
Get the current protocol version in use by the group.
sourcepub fn cipher_suite(&self) -> CipherSuite
pub fn cipher_suite(&self) -> CipherSuite
Get the current cipher suite in use by the group.
pub fn extensions(&self) -> &ExtensionList
Trait Implementations§
source§impl Clone for GroupContext
impl Clone for GroupContext
source§fn clone(&self) -> GroupContext
fn clone(&self) -> GroupContext
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 GroupContext
impl Debug for GroupContext
source§impl MlsDecode for GroupContext
impl MlsDecode for GroupContext
source§impl MlsEncode for GroupContext
impl MlsEncode for GroupContext
source§impl MlsSize for GroupContext
impl MlsSize for GroupContext
fn mls_encoded_len(&self) -> usize
source§impl PartialEq for GroupContext
impl PartialEq for GroupContext
source§fn eq(&self, other: &GroupContext) -> bool
fn eq(&self, other: &GroupContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupContext
Auto Trait Implementations§
impl RefUnwindSafe for GroupContext
impl Send for GroupContext
impl Sync for GroupContext
impl Unpin for GroupContext
impl UnwindSafe for GroupContext
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