#[repr(i32)]pub enum PacketKind {
Data = 1,
Exception = 2,
Progress = 3,
Pong = 4,
EndOfStream = 5,
ProfileInfo = 6,
Totals = 7,
Extremes = 8,
Log = 10,
TableColumns = 11,
ProfileEvents = 14,
TimezoneUpdate = 17,
}Expand description
Server packet kind.
Hello packets are handled during Client::init and do not have a variant.
Variants§
Data = 1
Exception = 2
Progress = 3
Pong = 4
EndOfStream = 5
ProfileInfo = 6
Totals = 7
Extremes = 8
Log = 10
TableColumns = 11
ProfileEvents = 14
TimezoneUpdate = 17
Trait Implementations§
Source§impl Clone for PacketKind
impl Clone for PacketKind
impl Copy for PacketKind
Source§impl Debug for PacketKind
impl Debug for PacketKind
impl Eq for PacketKind
Source§impl PartialEq for PacketKind
impl PartialEq for PacketKind
impl StructuralPartialEq for PacketKind
Auto Trait Implementations§
impl Freeze for PacketKind
impl RefUnwindSafe for PacketKind
impl Send for PacketKind
impl Sync for PacketKind
impl Unpin for PacketKind
impl UnsafeUnpin for PacketKind
impl UnwindSafe for PacketKind
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