pub struct Welcome { /* private fields */ }Available on 32-bit or 64-bit only.
Expand description
Welcome message
This message is generated when a new member is added to a group.
The invited member can use this message to join the group using
StagedWelcome::new_from_welcome().
// draft-ietf-mls-protocol-17
struct {
CipherSuite cipher_suite;
EncryptedGroupSecrets secrets<V>;
opaque encrypted_group_info<V>;
} Welcome;Implementations§
Trait Implementations§
Source§impl Deserialize for Welcome
impl Deserialize for Welcome
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 DeserializeBytes for Welcome
impl DeserializeBytes for Welcome
Source§impl From<FrankenWelcome> for Welcome
Available on crate features test-utils only.
impl From<FrankenWelcome> for Welcome
Available on crate features
test-utils only.Source§fn from(fln: FrankenWelcome) -> Self
fn from(fln: FrankenWelcome) -> Self
Converts to this type from the input type.
Source§impl From<Welcome> for FrankenWelcome
Available on crate features test-utils only.
impl From<Welcome> for FrankenWelcome
Available on crate features
test-utils only.Source§impl Serialize for &Welcome
impl Serialize for &Welcome
Source§impl Serialize for Welcome
impl Serialize for Welcome
impl Eq for Welcome
impl StructuralPartialEq for Welcome
Auto Trait Implementations§
impl Freeze for Welcome
impl RefUnwindSafe for Welcome
impl Send for Welcome
impl Sync for Welcome
impl Unpin for Welcome
impl UnwindSafe for Welcome
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<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
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