pub enum EncryptedChat {
Empty(EncryptedChatEmpty),
Waiting(EncryptedChatWaiting),
Requested(EncryptedChatRequested),
EncryptedChat(EncryptedChat),
Discarded(EncryptedChatDiscarded),
}Expand description
Variants§
Empty(EncryptedChatEmpty)
Waiting(EncryptedChatWaiting)
Requested(EncryptedChatRequested)
EncryptedChat(EncryptedChat)
Discarded(EncryptedChatDiscarded)
Trait Implementations§
Source§impl Clone for EncryptedChat
impl Clone for EncryptedChat
Source§fn clone(&self) -> EncryptedChat
fn clone(&self) -> EncryptedChat
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 EncryptedChat
impl Debug for EncryptedChat
Source§impl Deserializable for EncryptedChat
impl Deserializable for EncryptedChat
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<EncryptedChat> for EncryptedChat
impl From<EncryptedChat> for EncryptedChat
Source§fn from(x: EncryptedChat) -> Self
fn from(x: EncryptedChat) -> Self
Converts to this type from the input type.
Source§impl From<EncryptedChatDiscarded> for EncryptedChat
impl From<EncryptedChatDiscarded> for EncryptedChat
Source§fn from(x: EncryptedChatDiscarded) -> Self
fn from(x: EncryptedChatDiscarded) -> Self
Converts to this type from the input type.
Source§impl From<EncryptedChatEmpty> for EncryptedChat
impl From<EncryptedChatEmpty> for EncryptedChat
Source§fn from(x: EncryptedChatEmpty) -> Self
fn from(x: EncryptedChatEmpty) -> Self
Converts to this type from the input type.
Source§impl From<EncryptedChatRequested> for EncryptedChat
impl From<EncryptedChatRequested> for EncryptedChat
Source§fn from(x: EncryptedChatRequested) -> Self
fn from(x: EncryptedChatRequested) -> Self
Converts to this type from the input type.
Source§impl From<EncryptedChatWaiting> for EncryptedChat
impl From<EncryptedChatWaiting> for EncryptedChat
Source§fn from(x: EncryptedChatWaiting) -> Self
fn from(x: EncryptedChatWaiting) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptedChat
impl PartialEq for EncryptedChat
Source§impl Serializable for EncryptedChat
impl Serializable for EncryptedChat
Source§impl TryFrom<EncryptedChat> for EncryptedChat
impl TryFrom<EncryptedChat> for EncryptedChat
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
Source§impl TryFrom<EncryptedChat> for EncryptedChatDiscarded
impl TryFrom<EncryptedChat> for EncryptedChatDiscarded
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
Source§impl TryFrom<EncryptedChat> for EncryptedChatEmpty
impl TryFrom<EncryptedChat> for EncryptedChatEmpty
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
Source§impl TryFrom<EncryptedChat> for EncryptedChatRequested
impl TryFrom<EncryptedChat> for EncryptedChatRequested
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
Source§impl TryFrom<EncryptedChat> for EncryptedChatWaiting
impl TryFrom<EncryptedChat> for EncryptedChatWaiting
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedChat
Auto Trait Implementations§
impl Freeze for EncryptedChat
impl RefUnwindSafe for EncryptedChat
impl Send for EncryptedChat
impl Sync for EncryptedChat
impl Unpin for EncryptedChat
impl UnsafeUnpin for EncryptedChat
impl UnwindSafe for EncryptedChat
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