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,
}Available on crate features
data_scheme only.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§
impl<ID: Eq, OP: Eq, DGM, ORD> Eq for GroupOutput<ID, OP, DGM, ORD>
impl<ID: PartialEq, OP: PartialEq, DGM, ORD> StructuralPartialEq for GroupOutput<ID, OP, DGM, ORD>
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> UnsafeUnpin 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