pub enum ForwardSecureMessageContent<ID, OP> {
Control(ControlMessage<ID, OP>),
Application {
ciphertext: Vec<u8>,
generation: Generation,
},
}Variants§
Control(ControlMessage<ID, OP>)
Control message managing messaging encryption group.
Application
Encrypted application message payload indicating which ratchet generation was used.
Trait Implementations§
Auto Trait Implementations§
impl<ID, OP> Freeze for ForwardSecureMessageContent<ID, OP>
impl<ID, OP> RefUnwindSafe for ForwardSecureMessageContent<ID, OP>where
ID: RefUnwindSafe,
OP: RefUnwindSafe,
impl<ID, OP> Send for ForwardSecureMessageContent<ID, OP>
impl<ID, OP> Sync for ForwardSecureMessageContent<ID, OP>
impl<ID, OP> Unpin for ForwardSecureMessageContent<ID, OP>
impl<ID, OP> UnwindSafe for ForwardSecureMessageContent<ID, OP>where
ID: UnwindSafe,
OP: 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