#[non_exhaustive]pub enum ProviderError {
Show 16 variants
MissingChunks {
dataset: DatasetId,
rows: u64,
},
ZeroChunkRows {
dataset: DatasetId,
},
IdentityOverflow {
dataset: DatasetId,
field: &'static str,
},
DuplicateDataset {
dataset: DatasetId,
},
OverlappingChunkRange {
chunk: ChunkId,
},
UnknownDataset {
dataset: DatasetId,
},
UnknownChunk {
dataset: DatasetId,
chunk: ChunkId,
},
LogicalRowOutOfRange {
dataset: DatasetId,
row: LogicalRow,
},
LocalRowOutOfRange {
row: u32,
rows: u32,
},
PayloadLengthMismatch {
declared: u32,
actual: u32,
},
StorageChunkUnavailable {
index: usize,
},
ModelUnavailable {
model: u32,
},
PropertyUnavailable {
name: Box<str>,
},
PropertyLengthMismatch {
name: Box<str>,
expected: u32,
actual: u32,
},
BondTopologyUnavailable,
BondRangeUnavailable {
first: u64,
end: u64,
rows: u64,
},
}Expand description
Failure to describe or produce an out-of-core chunk.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MissingChunks
A dataset with rows was configured with no chunks.
ZeroChunkRows
A chunk size of zero cannot make progress.
IdentityOverflow
Dataset arithmetic exceeded its 64-bit identity space.
Fields
DuplicateDataset
Two datasets use the same stable identity.
OverlappingChunkRange
Two dataset chunk ranges overlap.
UnknownDataset
A requested dataset does not exist in the catalog.
UnknownChunk
A requested chunk does not belong to the provider.
LogicalRowOutOfRange
A logical row does not fit in the requested dataset.
LocalRowOutOfRange
A local row does not fit in its chunk.
PayloadLengthMismatch
The supplied payload has a different row count than its descriptor.
A structure adapter cannot find the requested storage chunk.
A structure has no requested model coordinate block.
A requested property is absent.
PropertyLengthMismatch
A property does not align to the structure’s atom rows.
Fields
The structure does not carry a complete bond topology.
A bond payload range does not fit the retained immutable bond table.
Trait Implementations§
Source§impl Clone for ProviderError
impl Clone for ProviderError
Source§impl Debug for ProviderError
impl Debug for ProviderError
Source§impl Display for ProviderError
impl Display for ProviderError
impl Eq for ProviderError
Source§impl Error for ProviderError
impl Error for ProviderError
1.30.0 · 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<ProviderError> for StructureBatchError
impl From<ProviderError> for StructureBatchError
Source§fn from(error: ProviderError) -> Self
fn from(error: ProviderError) -> Self
Source§impl PartialEq for ProviderError
impl PartialEq for ProviderError
impl StructuralPartialEq for ProviderError
Auto Trait Implementations§
impl Freeze for ProviderError
impl RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl UnsafeUnpin for ProviderError
impl UnwindSafe for ProviderError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more