pub struct ProcessOutput<ID, OP, DGM>where
DGM: AckedGroupMembership<ID, OP>,{
pub control_message: Option<ControlMessage<ID, OP>>,
pub direct_messages: Vec<DirectMessage<ID, OP, DGM>>,
pub sender_update_secret: Option<UpdateSecret>,
pub me_update_secret: Option<UpdateSecret>,
}Expand description
Calling “process” returns a 4-tuple (control, dmsgs, Is, Ir), where Is is an update secret
for the sender of the message being processed, Ir is an update secret for the recipient.
Fields§
§control_message: Option<ControlMessage<ID, OP>>Control message that should be broadcast to the group.
direct_messages: Vec<DirectMessage<ID, OP, DGM>>Direct messages to be sent to specific members.
sender_update_secret: Option<UpdateSecret>Our next update key for the message ratchet for incoming messages from the sender.
me_update_secret: Option<UpdateSecret>Our next update key for the message ratchet for outgoing messages to the group.
Trait Implementations§
Source§impl<ID: Debug, OP: Debug, DGM> Debug for ProcessOutput<ID, OP, DGM>where
DGM: AckedGroupMembership<ID, OP> + Debug,
impl<ID: Debug, OP: Debug, DGM> Debug for ProcessOutput<ID, OP, DGM>where
DGM: AckedGroupMembership<ID, OP> + Debug,
Source§impl<ID, OP, DGM> Default for ProcessOutput<ID, OP, DGM>where
DGM: AckedGroupMembership<ID, OP>,
impl<ID, OP, DGM> Default for ProcessOutput<ID, OP, DGM>where
DGM: AckedGroupMembership<ID, OP>,
Auto Trait Implementations§
impl<ID, OP, DGM> Freeze for ProcessOutput<ID, OP, DGM>
impl<ID, OP, DGM> RefUnwindSafe for ProcessOutput<ID, OP, DGM>where
ID: RefUnwindSafe,
OP: RefUnwindSafe,
<DGM as AckedGroupMembership<ID, OP>>::State: RefUnwindSafe,
impl<ID, OP, DGM> Send for ProcessOutput<ID, OP, DGM>
impl<ID, OP, DGM> Sync for ProcessOutput<ID, OP, DGM>
impl<ID, OP, DGM> Unpin for ProcessOutput<ID, OP, DGM>
impl<ID, OP, DGM> UnwindSafe for ProcessOutput<ID, OP, DGM>
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