pub struct ReInitInfo { /* private fields */ }Available on 32-bit or 64-bit only.
Expand description
The information a reinit needs from its old group.
Export this from the inactive old group with
MlsGroup::reinit_info and pass it to
the receiver API
StagedWelcome::build_from_reinit
(or PendingResumingWelcome::build_from_reinit).
This is an owned snapshot, so it does not borrow the old group and can outlive it.
This carries the resumption PSK secret, which is sensitive key material and must be handled accordingly.
Implementations§
Source§impl ReInitInfo
impl ReInitInfo
Sourcepub fn proposal(&self) -> &ReInitProposal
pub fn proposal(&self) -> &ReInitProposal
The committed reinit proposal.
Sourcepub fn old_group_id(&self) -> &GroupId
pub fn old_group_id(&self) -> &GroupId
The group_id of the old group.
Sourcepub fn old_group_epoch(&self) -> GroupEpoch
pub fn old_group_epoch(&self) -> GroupEpoch
The final epoch of the old group.
Sourcepub fn member_credentials(&self) -> &[Credential]
pub fn member_credentials(&self) -> &[Credential]
The credentials of the old group’s members, used by the receiver to check that the new group has the same members.
Trait Implementations§
Source§impl Clone for ReInitInfo
impl Clone for ReInitInfo
Source§impl Debug for ReInitInfo
impl Debug for ReInitInfo
Source§impl<'de> Deserialize<'de> for ReInitInfo
impl<'de> Deserialize<'de> for ReInitInfo
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
Auto Trait Implementations§
impl Freeze for ReInitInfo
impl RefUnwindSafe for ReInitInfo
impl Send for ReInitInfo
impl Sync for ReInitInfo
impl Unpin for ReInitInfo
impl UnsafeUnpin for ReInitInfo
impl UnwindSafe for ReInitInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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