Enum zarrs::array::ArrayCreateError
source · pub enum ArrayCreateError {
Show 15 variants
InvalidZarrFormat(usize),
InvalidNodeType(String),
NodePathError(NodePathError),
UnsupportedAdditionalFieldError(UnsupportedAdditionalFieldError),
DataTypeCreateError(UnsupportedDataTypeError),
InvalidFillValue(IncompatibleFillValueError),
InvalidFillValueMetadata(IncompatibleFillValueMetadataError),
CodecsCreateError(PluginCreateError),
StorageTransformersCreateError(PluginCreateError),
ChunkGridCreateError(PluginCreateError),
ChunkKeyEncodingCreateError(PluginCreateError),
InvalidChunkGridDimensionality(usize, usize),
InvalidDimensionNames(usize, usize),
StorageError(StorageError),
MissingMetadata,
}
Expand description
An array creation error.
Variants§
InvalidZarrFormat(usize)
Invalid zarr format.
InvalidNodeType(String)
Invalid node type.
NodePathError(NodePathError)
An invalid node path
UnsupportedAdditionalFieldError(UnsupportedAdditionalFieldError)
Unsupported additional field.
DataTypeCreateError(UnsupportedDataTypeError)
Unsupported data type.
InvalidFillValue(IncompatibleFillValueError)
Invalid fill value.
InvalidFillValueMetadata(IncompatibleFillValueMetadataError)
Invalid fill value metadata.
CodecsCreateError(PluginCreateError)
Error creating codecs.
StorageTransformersCreateError(PluginCreateError)
Storage transformer creation error.
ChunkGridCreateError(PluginCreateError)
Chunk grid create error.
ChunkKeyEncodingCreateError(PluginCreateError)
Chunk key encoding create error.
InvalidChunkGridDimensionality(usize, usize)
The dimensionality of the chunk grid does not match the array shape.
InvalidDimensionNames(usize, usize)
The number of dimension names does not match the array dimensionality.
StorageError(StorageError)
Storage error.
MissingMetadata
Missing metadata.
Trait Implementations§
source§impl Debug for ArrayCreateError
impl Debug for ArrayCreateError
source§impl Display for ArrayCreateError
impl Display for ArrayCreateError
source§impl Error for ArrayCreateError
impl Error for ArrayCreateError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<IncompatibleFillValueError> for ArrayCreateError
impl From<IncompatibleFillValueError> for ArrayCreateError
source§fn from(source: IncompatibleFillValueError) -> Self
fn from(source: IncompatibleFillValueError) -> Self
Converts to this type from the input type.
source§impl From<IncompatibleFillValueMetadataError> for ArrayCreateError
impl From<IncompatibleFillValueMetadataError> for ArrayCreateError
source§fn from(source: IncompatibleFillValueMetadataError) -> Self
fn from(source: IncompatibleFillValueMetadataError) -> Self
Converts to this type from the input type.
source§impl From<NodePathError> for ArrayCreateError
impl From<NodePathError> for ArrayCreateError
source§fn from(source: NodePathError) -> Self
fn from(source: NodePathError) -> Self
Converts to this type from the input type.
source§impl From<StorageError> for ArrayCreateError
impl From<StorageError> for ArrayCreateError
source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
source§impl From<UnsupportedAdditionalFieldError> for ArrayCreateError
impl From<UnsupportedAdditionalFieldError> for ArrayCreateError
source§fn from(source: UnsupportedAdditionalFieldError) -> Self
fn from(source: UnsupportedAdditionalFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArrayCreateError
impl !RefUnwindSafe for ArrayCreateError
impl Send for ArrayCreateError
impl Sync for ArrayCreateError
impl Unpin for ArrayCreateError
impl !UnwindSafe for ArrayCreateError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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