pub enum SentEncryptedMessage {
SentEncryptedMessage(SentEncryptedMessage),
SentEncryptedFile(SentEncryptedFile),
}Expand description
Variants§
SentEncryptedMessage(SentEncryptedMessage)
SentEncryptedFile(SentEncryptedFile)
Trait Implementations§
Source§impl Clone for SentEncryptedMessage
impl Clone for SentEncryptedMessage
Source§fn clone(&self) -> SentEncryptedMessage
fn clone(&self) -> SentEncryptedMessage
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 SentEncryptedMessage
impl Debug for SentEncryptedMessage
Source§impl Deserializable for SentEncryptedMessage
impl Deserializable for SentEncryptedMessage
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<SentEncryptedFile> for SentEncryptedMessage
impl From<SentEncryptedFile> for SentEncryptedMessage
Source§fn from(x: SentEncryptedFile) -> Self
fn from(x: SentEncryptedFile) -> Self
Converts to this type from the input type.
Source§impl From<SentEncryptedMessage> for SentEncryptedMessage
impl From<SentEncryptedMessage> for SentEncryptedMessage
Source§fn from(x: SentEncryptedMessage) -> Self
fn from(x: SentEncryptedMessage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SentEncryptedMessage
impl PartialEq for SentEncryptedMessage
Source§impl Serializable for SentEncryptedMessage
impl Serializable for SentEncryptedMessage
Source§impl TryFrom<SentEncryptedMessage> for SentEncryptedFile
impl TryFrom<SentEncryptedMessage> for SentEncryptedFile
Source§type Error = SentEncryptedMessage
type Error = SentEncryptedMessage
The type returned in the event of a conversion error.
Source§impl TryFrom<SentEncryptedMessage> for SentEncryptedMessage
impl TryFrom<SentEncryptedMessage> for SentEncryptedMessage
Source§type Error = SentEncryptedMessage
type Error = SentEncryptedMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for SentEncryptedMessage
Auto Trait Implementations§
impl Freeze for SentEncryptedMessage
impl RefUnwindSafe for SentEncryptedMessage
impl Send for SentEncryptedMessage
impl Sync for SentEncryptedMessage
impl Unpin for SentEncryptedMessage
impl UnsafeUnpin for SentEncryptedMessage
impl UnwindSafe for SentEncryptedMessage
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