pub enum ExternalReceivedMessage {
Commit(CommitMessageDescription),
Proposal(ProposalMessageDescription),
Ciphertext,
}
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
Encrypted message that can not be processed.
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<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 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