Skip to content

Enum encoding::DecodeError

zaun_community_protocol::encoding::DecodeError · Enum

pub enum DecodeError { … }

The input is not a canonical encoding.

A fixed field, length or count needs more bytes than remain.

Bytes after the top-level object.

A bool byte other than 0x00 or 0x01.

An option tag other than 0x00 or 0x01.

A length or count above the field’s limit.

A string that is not valid UTF-8.

An unknown format byte.

An unknown suite byte (0x00, 0x02–0xFF).

A field breaks a rule of its object (the field name).

Clone, Copy, Debug, Display, Eq, Error, From<DecodeError>, PartialEq, StructuralPartialEq

Full rustdoc page