pub enum TableError {
Validation(HaysonValidationError),
Unique(HaysonUniqueViolationError),
Conflict(HaysonPendingConflictError),
NotFound(HaysonNotFoundError),
Schema(HaysonSchemaError),
Partition(HaysonPartitionError),
Relation(HaysonRelationViolationError),
RelationRestrict(HaysonRelationRestrictError),
Cipher(Box<HaysonCipherError>),
Io(Error),
}Variants§
Validation(HaysonValidationError)
Unique(HaysonUniqueViolationError)
Conflict(HaysonPendingConflictError)
NotFound(HaysonNotFoundError)
Schema(HaysonSchemaError)
Partition(HaysonPartitionError)
Relation(HaysonRelationViolationError)
RelationRestrict(HaysonRelationRestrictError)
Cipher(Box<HaysonCipherError>)
Boxed — HaysonCipherError is the widest of these variants, and only the cypher-fields
path ever builds one, so nothing else should pay for its size at rest.
Io(Error)
Trait Implementations§
Source§impl Debug for TableError
impl Debug for TableError
Source§impl Display for TableError
impl Display for TableError
Source§impl Error for TableError
impl Error for TableError
1.30.0 · 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<CommitError> for TableError
impl From<CommitError> for TableError
Source§fn from(value: CommitError) -> Self
fn from(value: CommitError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TableError
impl From<Error> for TableError
Source§impl From<HaysonCipherError> for TableError
impl From<HaysonCipherError> for TableError
Source§fn from(value: HaysonCipherError) -> Self
fn from(value: HaysonCipherError) -> Self
Converts to this type from the input type.
Source§impl From<HaysonPartitionError> for TableError
impl From<HaysonPartitionError> for TableError
Source§fn from(value: HaysonPartitionError) -> Self
fn from(value: HaysonPartitionError) -> Self
Converts to this type from the input type.
Source§impl From<HaysonPendingConflictError> for TableError
impl From<HaysonPendingConflictError> for TableError
Source§fn from(value: HaysonPendingConflictError) -> Self
fn from(value: HaysonPendingConflictError) -> Self
Converts to this type from the input type.
Source§impl From<HaysonUniqueViolationError> for TableError
impl From<HaysonUniqueViolationError> for TableError
Source§fn from(value: HaysonUniqueViolationError) -> Self
fn from(value: HaysonUniqueViolationError) -> Self
Converts to this type from the input type.
Source§impl From<HaysonValidationError> for TableError
impl From<HaysonValidationError> for TableError
Source§fn from(value: HaysonValidationError) -> Self
fn from(value: HaysonValidationError) -> Self
Converts to this type from the input type.
Source§impl From<RecordSourceError> for TableError
impl From<RecordSourceError> for TableError
Source§fn from(value: RecordSourceError) -> Self
fn from(value: RecordSourceError) -> Self
Converts to this type from the input type.
Source§impl From<StageError> for TableError
impl From<StageError> for TableError
Source§fn from(value: StageError) -> Self
fn from(value: StageError) -> Self
Converts to this type from the input type.
Source§impl From<TableError> for Error
Lets the io::Result paths that now flush first (compact, snapshot, query_following and
friends) carry a flush failure without changing their signature. Only the Io variant survives
intact; the rest cannot be raised by a flush of writes that already passed staging, apart from a
trigger effect the schema refuses, which arrives here as its message.
impl From<TableError> for Error
Lets the io::Result paths that now flush first (compact, snapshot, query_following and
friends) carry a flush failure without changing their signature. Only the Io variant survives
intact; the rest cannot be raised by a flush of writes that already passed staging, apart from a
trigger effect the schema refuses, which arrives here as its message.
Source§fn from(value: TableError) -> Self
fn from(value: TableError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TableError
impl !UnwindSafe for TableError
impl Freeze for TableError
impl Send for TableError
impl Sync for TableError
impl Unpin for TableError
impl UnsafeUnpin for TableError
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