pub struct VerifiedExternalCommitBuilder { /* private fields */ }Available on 32-bit or 64-bit only.
Expand description
The second stage of the ExternalCommitBuilder, returned by
ExternalCommitBuilder::verify_group. It holds the verified group info
and ratchet tree of the group to be joined, so they can be inspected before
the external commit is built.
Implementations§
Source§impl VerifiedExternalCommitBuilder
impl VerifiedExternalCommitBuilder
Sourcepub fn group_info(&self) -> &GroupInfo
pub fn group_info(&self) -> &GroupInfo
Returns the verified GroupInfo of the group to be joined.
Sourcepub fn group_context(&self) -> &GroupContext
pub fn group_context(&self) -> &GroupContext
Returns the GroupContext of the group to be joined.
Sourcepub fn build_group<Provider: OpenMlsProvider>(
self,
provider: &Provider,
credential_with_key: CredentialWithKey,
) -> Result<CommitBuilder<'_, Initial, MlsGroup>, ExternalCommitBuilderError<Provider::StorageError>>
pub fn build_group<Provider: OpenMlsProvider>( self, provider: &Provider, credential_with_key: CredentialWithKey, ) -> Result<CommitBuilder<'_, Initial, MlsGroup>, ExternalCommitBuilderError<Provider::StorageError>>
Build the MlsGroup from the verified group and the provided
CredentialWithKey.
Returns a CommitBuilder that can be used to further configure the
external commit.
Auto Trait Implementations§
impl Freeze for VerifiedExternalCommitBuilder
impl RefUnwindSafe for VerifiedExternalCommitBuilder
impl Send for VerifiedExternalCommitBuilder
impl Sync for VerifiedExternalCommitBuilder
impl Unpin for VerifiedExternalCommitBuilder
impl UnsafeUnpin for VerifiedExternalCommitBuilder
impl UnwindSafe for VerifiedExternalCommitBuilder
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> 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