pub enum CiphertextMessage {
SignalMessage(SignalMessage),
PreKeySignalMessage(PreKeySignalMessage),
SenderKeyMessage(SenderKeyMessage),
PlaintextContent(PlaintextContent),
}Variants§
SignalMessage(SignalMessage)
PreKeySignalMessage(PreKeySignalMessage)
SenderKeyMessage(SenderKeyMessage)
PlaintextContent(PlaintextContent)
Implementations§
Source§impl CiphertextMessage
impl CiphertextMessage
pub fn message_type(&self) -> CiphertextMessageType
pub fn serialize(&self) -> &[u8] ⓘ
Trait Implementations§
Source§impl Debug for CiphertextMessage
impl Debug for CiphertextMessage
Source§impl From<CiphertextMessage> for OwnedCiphertextMessage
impl From<CiphertextMessage> for OwnedCiphertextMessage
Source§fn from(message: CiphertextMessage) -> Self
fn from(message: CiphertextMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for CiphertextMessage
impl RefUnwindSafe for CiphertextMessage
impl Send for CiphertextMessage
impl Sync for CiphertextMessage
impl Unpin for CiphertextMessage
impl UnsafeUnpin for CiphertextMessage
impl UnwindSafe for CiphertextMessage
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