pub enum TagDecodeError {
RootMustBeCompoundTag {
actual_tag: Tag,
},
UnknownTagType {
tag_type_id: u8,
},
IOError {
io_error: Error,
},
}
Expand description
Possible types of errors while decoding tag.
Variants§
RootMustBeCompoundTag
Root of tag must be compound tag.
UnknownTagType
Tag type not recognized.
IOError
I/O Error which happened while were decoding.
Trait Implementations§
Source§impl Debug for TagDecodeError
impl Debug for TagDecodeError
Source§impl Display for TagDecodeError
impl Display for TagDecodeError
Source§impl Error for TagDecodeError
impl Error for TagDecodeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TagDecodeError
impl !RefUnwindSafe for TagDecodeError
impl Send for TagDecodeError
impl Sync for TagDecodeError
impl Unpin for TagDecodeError
impl !UnwindSafe for TagDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more