Enum fastnbt::stream::Error [−][src]
#[non_exhaustive] pub enum Error { Io { source: Error, }, InvalidTag(u8), NonunicodeString(Vec<u8>), EOF, }
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
An underlying IO error.
Show fields
Fields of Io
source: Error
InvalidTag(u8)
Tag was not a valid NBT tag.
String or name was not valid unicode.
Hit EOF, this may or may not be the end of the NBT data. At this level of abstraction we cannot tell. It is the callers responsibility to check.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error