pub enum GroupOutput<ID, OP, DGM, ORD>where
DGM: GroupMembership<ID, OP>,
ORD: Ordering<ID, OP, DGM>,{
Control(ORD::Message),
Application {
plaintext: Vec<u8>,
},
Removed,
}
Expand description
Result from processing a remote message or calling a local group operation.
Variants§
Control(ORD::Message)
Control message for group encryption which should be broadcast to all members of the group.
Application
Decrypted payload of message.
Removed
Signal that we’ve been removed from the group.
Trait Implementations§
Source§impl<ID: Clone, OP: Clone, DGM, ORD> Clone for GroupOutput<ID, OP, DGM, ORD>
impl<ID: Clone, OP: Clone, DGM, ORD> Clone for GroupOutput<ID, OP, DGM, ORD>
Source§fn clone(&self) -> GroupOutput<ID, OP, DGM, ORD>
fn clone(&self) -> GroupOutput<ID, OP, DGM, ORD>
Returns a duplicate 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<ID: PartialEq, OP: PartialEq, DGM, ORD> PartialEq for GroupOutput<ID, OP, DGM, ORD>
impl<ID: PartialEq, OP: PartialEq, DGM, ORD> PartialEq for GroupOutput<ID, OP, DGM, ORD>
Source§fn eq(&self, other: &GroupOutput<ID, OP, DGM, ORD>) -> bool
fn eq(&self, other: &GroupOutput<ID, OP, DGM, ORD>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<ID: Eq, OP: Eq, DGM, ORD> Eq for GroupOutput<ID, OP, DGM, ORD>
impl<ID, OP, DGM, ORD> StructuralPartialEq for GroupOutput<ID, OP, DGM, ORD>where
DGM: GroupMembership<ID, OP>,
ORD: Ordering<ID, OP, DGM>,
Auto Trait Implementations§
impl<ID, OP, DGM, ORD> Freeze for GroupOutput<ID, OP, DGM, ORD>
impl<ID, OP, DGM, ORD> RefUnwindSafe for GroupOutput<ID, OP, DGM, ORD>
impl<ID, OP, DGM, ORD> Send for GroupOutput<ID, OP, DGM, ORD>
impl<ID, OP, DGM, ORD> Sync for GroupOutput<ID, OP, DGM, ORD>
impl<ID, OP, DGM, ORD> Unpin for GroupOutput<ID, OP, DGM, ORD>
impl<ID, OP, DGM, ORD> UnwindSafe for GroupOutput<ID, OP, DGM, ORD>
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