pub struct CiphertextMessage { /* private fields */ }
Expand description
Implementations§
Source§impl CiphertextMessage
impl CiphertextMessage
Sourcepub fn get_type(&self) -> Result<CiphertextType, Error>
pub fn get_type(&self) -> Result<CiphertextType, Error>
Which type of message is this?
Trait Implementations§
Source§impl Clone for CiphertextMessage
impl Clone for CiphertextMessage
Source§fn clone(&self) -> CiphertextMessage
fn clone(&self) -> CiphertextMessage
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 Debug for CiphertextMessage
impl Debug for CiphertextMessage
Source§impl From<PreKeySignalMessage> for CiphertextMessage
impl From<PreKeySignalMessage> for CiphertextMessage
Source§fn from(other: PreKeySignalMessage) -> CiphertextMessage
fn from(other: PreKeySignalMessage) -> CiphertextMessage
Converts to this type from the input type.
Source§impl From<SignalMessage> for CiphertextMessage
impl From<SignalMessage> for CiphertextMessage
Source§fn from(other: SignalMessage) -> CiphertextMessage
fn from(other: SignalMessage) -> CiphertextMessage
Converts to this type from the input type.
Source§impl Serializable for CiphertextMessage
impl Serializable for CiphertextMessage
Source§impl TryFrom<CiphertextMessage> for SignalMessage
impl TryFrom<CiphertextMessage> for SignalMessage
Auto Trait Implementations§
impl Freeze for CiphertextMessage
impl RefUnwindSafe for CiphertextMessage
impl !Send for CiphertextMessage
impl !Sync for CiphertextMessage
impl Unpin 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