pub enum Error {
}Expand description
Every error returned by this crate. Each variant carries enough context
to identify what failed; Display (via thiserror) renders the same
message shown in the /// line above each variant.
Variants§
DatasetNotFound(String)
The named dataset doesn’t exist in this store.
DatasetAlreadyExists(String)
A dataset with this name was already created in this store.
ArrayNotFound(String)
The named array isn’t defined in the relevant dataset.
ArrayAlreadyExists(String)
An array with this name was already defined in the dataset.
StoreNotFound
Atlas::open / open_path was called against a location with no
metadata file (neither atlas.json nor any of the atlas.msgpack*
variants).
InvalidName(String)
Dataset or array name failed validation. Names must be non-empty,
cannot contain /, .., or ., and cannot start with _.
ArrayFormat(Error)
Underlying array-format failure — see the wrapped error for the
specific block/codec/storage problem.
Io(Error)
Local filesystem I/O failure (used by create_path / open_path).
Meta(Error)
Failed to parse the JSON form of the store metadata.
MetaEncode(Error)
Failed to encode store metadata to MessagePack (atlas.msgpack /
atlas.msgpack.zst / atlas.msgpack.lz4).
MetaDecode(Error)
Failed to decode the MessagePack form of the store metadata.
MetaLz4Decompress(DecompressError)
Failed to LZ4-decompress the on-disk metadata file
(atlas.json.lz4 / atlas.msgpack.lz4).
ObjectStore(Error)
Underlying object_store failure — bubbled up from the backend
(local FS, S3, GCS, Azure, in-memory).
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<DecompressError> for Error
impl From<DecompressError> for Error
Source§fn from(source: DecompressError) -> Self
fn from(source: DecompressError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.