[][src]Enum nbt::decode::TagDecodeError

pub enum TagDecodeError {
    RootMustBeCompoundTag {
        actual_tag: Tag,
    },
    UnknownTagType {
        tag_type_id: u8,
    },
    IOError {
        io_error: Error,
    },
}

Possible types of errors while decoding tag.

Variants

RootMustBeCompoundTag

Root of tag must be compound tag.

Fields of RootMustBeCompoundTag

actual_tag: Tag

Actual tag.

UnknownTagType

Tag type not recognized.

Fields of UnknownTagType

tag_type_id: u8

Tag type id which is not recognized.

IOError

I/O Error which happened while were decoding.

Fields of IOError

io_error: Error

Trait Implementations

impl Debug for TagDecodeError[src]

impl From<Error> for TagDecodeError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.