Struct hematite_server::packet::play::clientbound::SetCompression [] [src]

pub struct SetCompression {
    pub threshold: Var<i32>::Clean,
}

Fields

threshold

Trait Implementations

impl Protocol for SetCompression

type Clean = Self

fn proto_len(value: &SetCompression) -> usize

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

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

impl PacketWrite for SetCompression

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 SetCompression

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