pub struct UnconfirmedMessage {
pub message: MlsMessageOut,
pub generation: u32,
pub generation_id: Option<GenerationId>,
}Available on crate feature
virtual-clients-draft and (32-bit or 64-bit) only.Expand description
The result of MlsGroup::create_unconfirmed_message: the encrypted
message together with the bookkeeping a virtual client needs to coordinate
the send with the DS.
Fields§
§message: MlsMessageOutThe encrypted application message to fan out.
generation: u32The ratchet generation used for encryption. Pass it back to
MlsGroup::confirm_message once the DS has accepted the message, to
delete the retained encryption secret.
generation_id: Option<GenerationId>The GenerationId to attach to the fanned-out message, present when
the group is bound to an emulation epoch and None otherwise. A
strongly-consistent DS compares it across siblings to detect generation
collisions.
Trait Implementations§
Source§impl Clone for UnconfirmedMessage
impl Clone for UnconfirmedMessage
Source§fn clone(&self) -> UnconfirmedMessage
fn clone(&self) -> UnconfirmedMessage
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 moreAuto Trait Implementations§
impl Freeze for UnconfirmedMessage
impl RefUnwindSafe for UnconfirmedMessage
impl Send for UnconfirmedMessage
impl Sync for UnconfirmedMessage
impl Unpin for UnconfirmedMessage
impl UnsafeUnpin for UnconfirmedMessage
impl UnwindSafe for UnconfirmedMessage
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
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