pub enum OlmMessageType {
PreKey,
Message,
}
Expand description
The message types that are returned after encryption.
Variants§
Trait Implementations§
Source§impl Clone for OlmMessageType
impl Clone for OlmMessageType
Source§fn clone(&self) -> OlmMessageType
fn clone(&self) -> OlmMessageType
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 OlmMessageType
impl Debug for OlmMessageType
Source§impl From<OlmMessageType> for usize
impl From<OlmMessageType> for usize
Source§fn from(message_type: OlmMessageType) -> Self
fn from(message_type: OlmMessageType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OlmMessageType
impl PartialEq for OlmMessageType
Source§impl TryFrom<usize> for OlmMessageType
impl TryFrom<usize> for OlmMessageType
impl Copy for OlmMessageType
impl StructuralPartialEq for OlmMessageType
Auto Trait Implementations§
impl Freeze for OlmMessageType
impl RefUnwindSafe for OlmMessageType
impl Send for OlmMessageType
impl Sync for OlmMessageType
impl Unpin for OlmMessageType
impl UnwindSafe for OlmMessageType
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