pub enum NetType {
Server,
Client,
Archiver,
}Expand description
Network type for the packet, currently unused.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NetType
impl<'de> Deserialize<'de> for NetType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for NetType
Auto Trait Implementations§
impl Freeze for NetType
impl RefUnwindSafe for NetType
impl Send for NetType
impl Sync for NetType
impl Unpin for NetType
impl UnsafeUnpin for NetType
impl UnwindSafe for NetType
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