Enum anvil_region::error::ChunkReadError [−][src]
Possible errors while loading the chunk.
Variants
Chunk at specified coordinates inside region not found.
Fields of ChunkNotFound
position: RegionChunkPosition
Chunk length overlaps declared maximum.
This should not occur under normal conditions.
Region file are corrupted.
Fields of LengthExceedsMaximum
Currently are only 2 types of compression: Gzip and Zlib.
This should not occur under normal conditions.
Region file are corrupted or was introduced new compression type.
Fields of UnsupportedCompressionScheme
compression_scheme: u8
Compression scheme type id.
I/O Error which happened while were reading chunk data from region file.
Fields of IOError
io_error: Error
Error while decoding binary data to NBT tag.
This should not occur under normal conditions.
Region file are corrupted or a developer error in the NBT library.
Fields of TagDecodeError
tag_decode_error: TagDecodeError
Trait Implementations
impl Debug for ChunkReadError
[src]
impl From<Error> for ChunkReadError
[src]
impl From<TagDecodeError> for ChunkReadError
[src]
fn from(tag_decode_error: TagDecodeError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ChunkReadError
impl Send for ChunkReadError
impl Sync for ChunkReadError
impl Unpin for ChunkReadError
impl !UnwindSafe for ChunkReadError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,