pub enum HelloPacketType {
Connector = 0,
Tunnel = 1,
Invalid = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Debug for HelloPacketType
impl Debug for HelloPacketType
Source§impl PartialEq for HelloPacketType
impl PartialEq for HelloPacketType
Source§fn eq(&self, other: &HelloPacketType) -> bool
fn eq(&self, other: &HelloPacketType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HelloPacketType
Auto Trait Implementations§
impl Freeze for HelloPacketType
impl RefUnwindSafe for HelloPacketType
impl Send for HelloPacketType
impl Sync for HelloPacketType
impl Unpin for HelloPacketType
impl UnsafeUnpin for HelloPacketType
impl UnwindSafe for HelloPacketType
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