pub enum ExternalReceivedMessage {
Commit(CommitMessageDescription),
Proposal(ProposalMessageDescription),
Ciphertext(ContentType),
GroupInfo(GroupInfo),
Welcome,
KeyPackage(KeyPackage),
}
Available on crate feature
external_client
only.Expand description
The result of processing an ExternalGroup message using process_incoming_message
Variants§
Commit(CommitMessageDescription)
State update as the result of a successful commit.
Proposal(ProposalMessageDescription)
Received proposal and its unique identifier.
Ciphertext(ContentType)
Encrypted message that can not be processed.
GroupInfo(GroupInfo)
Validated GroupInfo object
Welcome
Validated welcome message
KeyPackage(KeyPackage)
Validated key package
Trait Implementations§
Source§impl Clone for ExternalReceivedMessage
impl Clone for ExternalReceivedMessage
Source§fn clone(&self) -> ExternalReceivedMessage
fn clone(&self) -> ExternalReceivedMessage
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 ExternalReceivedMessage
impl Debug for ExternalReceivedMessage
Source§impl From<CommitMessageDescription> for ExternalReceivedMessage
impl From<CommitMessageDescription> for ExternalReceivedMessage
Source§fn from(value: CommitMessageDescription) -> Self
fn from(value: CommitMessageDescription) -> Self
Converts to this type from the input type.
Source§impl From<GroupInfo> for ExternalReceivedMessage
impl From<GroupInfo> for ExternalReceivedMessage
Source§impl From<KeyPackage> for ExternalReceivedMessage
impl From<KeyPackage> for ExternalReceivedMessage
Source§fn from(value: KeyPackage) -> Self
fn from(value: KeyPackage) -> Self
Converts to this type from the input type.
Source§impl From<ProposalMessageDescription> for ExternalReceivedMessage
impl From<ProposalMessageDescription> for ExternalReceivedMessage
Source§fn from(value: ProposalMessageDescription) -> Self
fn from(value: ProposalMessageDescription) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExternalReceivedMessage
impl RefUnwindSafe for ExternalReceivedMessage
impl Send for ExternalReceivedMessage
impl Sync for ExternalReceivedMessage
impl Unpin for ExternalReceivedMessage
impl UnwindSafe for ExternalReceivedMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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