#[repr(u8)]pub enum PacketId {
Hello = 0,
}Variants§
Hello = 0
Trait Implementations§
Source§impl IdentifiedPacket<PacketId> for Hello<'_>
impl IdentifiedPacket<PacketId> for Hello<'_>
Source§impl TryFromPrimitive for PacketId
impl TryFromPrimitive for PacketId
impl Eq for PacketId
impl StructuralPartialEq for PacketId
Auto Trait Implementations§
impl Freeze for PacketId
impl RefUnwindSafe for PacketId
impl Send for PacketId
impl Sync for PacketId
impl Unpin for PacketId
impl UnsafeUnpin for PacketId
impl UnwindSafe for PacketId
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