pub enum RecordsError {
InvalidConfiguration(String),
SchemaMismatch(String),
MissingField(String),
MemoryBudgetExceeded {
requested: u64,
current: u64,
limit: u64,
},
ReceiptOverflow(String),
InvalidReceipt(String),
Cancelled,
InvalidChunk(String),
StreamClosed,
Spatial(SpatialError),
}Expand description
Shared record/stream failures.
Variants§
InvalidConfiguration(String)
Invalid public configuration.
SchemaMismatch(String)
Schema identifiers or versions are incompatible.
MissingField(String)
A required field is missing during migration.
MemoryBudgetExceeded
A tracked allocation would exceed the configured streaming memory budget.
Fields
ReceiptOverflow(String)
A streaming counter exceeded the representable receipt range.
InvalidReceipt(String)
A versioned streaming receipt did not satisfy its schema contract.
Cancelled
Cooperative cancellation was observed at a streaming boundary.
InvalidChunk(String)
A source emitted a chunk that violates its declared stream contract.
StreamClosed
A background stream ended without an explicit end marker.
Spatial(SpatialError)
Wrapped core spatial failure.
Trait Implementations§
Source§impl Debug for RecordsError
impl Debug for RecordsError
Source§impl Display for RecordsError
impl Display for RecordsError
Source§impl Error for RecordsError
impl Error for RecordsError
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()
Source§impl From<SpatialError> for RecordsError
impl From<SpatialError> for RecordsError
Source§fn from(source: SpatialError) -> Self
fn from(source: SpatialError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RecordsError
impl RefUnwindSafe for RecordsError
impl Send for RecordsError
impl Sync for RecordsError
impl Unpin for RecordsError
impl UnsafeUnpin for RecordsError
impl UnwindSafe for RecordsError
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