Struct hematite_server::packet::play::serverbound::KeepAlive [] [src]

pub struct KeepAlive {
    pub keep_alive_id: i32::Clean,
}

Fields

keep_alive_id

Trait Implementations

impl Protocol for KeepAlive

type Clean = Self

fn proto_len(value: &KeepAlive) -> usize

fn proto_encode(value: &KeepAlive, dst: &mut Write) -> Result<()>

fn proto_decode(src: &mut Read) -> Result<KeepAlive>

impl PacketWrite for KeepAlive

fn inner_len(&self) -> usize

fn inner_encode(&self, dst: &mut Write) -> Result<()>

fn write(&self, dst: &mut Write) -> Result<()>

Derived Implementations

impl Debug for KeepAlive

fn fmt(&self, __arg_0: &mut Formatter) -> Result