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