pub struct GroupOutput<ID, OP, DGM, ORD>where
ID: Clone + Eq + PartialEq + StdHash,
DGM: AckedGroupMembership<ID, OP>,
ORD: ForwardSecureOrdering<ID, OP, DGM>,{
pub events: Vec<GroupEvent<ID, OP, DGM, ORD>>,
pub removed_members: HashSet<ID>,
pub added_members: HashSet<ID>,
}
Expand description
Result from processing a remote message or calling a local group operation.
Fields§
§events: Vec<GroupEvent<ID, OP, DGM, ORD>>
§removed_members: HashSet<ID>
§added_members: HashSet<ID>
Trait Implementations§
Source§impl<ID, OP: Clone, DGM, ORD> Clone for GroupOutput<ID, OP, DGM, ORD>where
ID: Clone + Eq + PartialEq + StdHash + Clone,
DGM: AckedGroupMembership<ID, OP> + Clone,
ORD: ForwardSecureOrdering<ID, OP, DGM> + Clone,
impl<ID, OP: Clone, DGM, ORD> Clone for GroupOutput<ID, OP, DGM, ORD>where
ID: Clone + Eq + PartialEq + StdHash + Clone,
DGM: AckedGroupMembership<ID, OP> + Clone,
ORD: ForwardSecureOrdering<ID, OP, DGM> + Clone,
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, OP: Default, DGM, ORD> Default for GroupOutput<ID, OP, DGM, ORD>where
ID: Clone + Eq + PartialEq + StdHash + Default,
DGM: AckedGroupMembership<ID, OP> + Default,
ORD: ForwardSecureOrdering<ID, OP, DGM> + Default,
impl<ID, OP: Default, DGM, ORD> Default for GroupOutput<ID, OP, DGM, ORD>where
ID: Clone + Eq + PartialEq + StdHash + Default,
DGM: AckedGroupMembership<ID, OP> + Default,
ORD: ForwardSecureOrdering<ID, OP, DGM> + Default,
Source§fn default() -> GroupOutput<ID, OP, DGM, ORD>
fn default() -> GroupOutput<ID, OP, DGM, ORD>
Returns the “default value” for a type. Read more
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>where
<ORD as ForwardSecureOrdering<ID, OP, DGM>>::Message: RefUnwindSafe,
OP: RefUnwindSafe,
ID: RefUnwindSafe,
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>where
<ORD as ForwardSecureOrdering<ID, OP, DGM>>::Message: UnwindSafe,
OP: UnwindSafe,
ID: UnwindSafe,
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