pub enum MessageNumber {
Message1 = 1,
Message2 = 2,
Message3 = 3,
Message4 = 4,
}
Variants§
Trait Implementations§
Source§impl Debug for MessageNumber
impl Debug for MessageNumber
Source§impl From<MessageNumber> for HandshakeMessageNumber
impl From<MessageNumber> for HandshakeMessageNumber
Source§fn from(e: MessageNumber) -> Self
fn from(e: MessageNumber) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageNumber
impl PartialEq for MessageNumber
impl StructuralPartialEq for MessageNumber
Auto Trait Implementations§
impl Freeze for MessageNumber
impl RefUnwindSafe for MessageNumber
impl Send for MessageNumber
impl Sync for MessageNumber
impl Unpin for MessageNumber
impl UnwindSafe for MessageNumber
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