pub enum ScyllaDbStoreInternalError {
Show 17 variants
BcsError(Error),
DeserializationError(DeserializationError),
RowsError(RowsError),
IntoRowsResultError(IntoRowsResultError),
TypeCheckError(TypeCheckError),
PagerExecutionError(PagerExecutionError),
PrepareError(PrepareError),
ExecutionError(ExecutionError),
ExclusiveWriteBatchExecutionError(ExecutionError),
SharedWriteBatchExecutionError(ExecutionError),
NewSessionError(NewSessionError),
NextRowError(NextRowError),
InvalidNamespace,
KeyTooLong,
ValueTooLong,
BatchTooLong,
ZeroLengthKey,
}Expand description
The error type for ScyllaDbStoreInternal
Variants§
BcsError(Error)
BCS serialization error.
DeserializationError(DeserializationError)
A deserialization error
RowsError(RowsError)
A row error
IntoRowsResultError(IntoRowsResultError)
A conversion error in the accessed data
TypeCheckError(TypeCheckError)
A type check error
PagerExecutionError(PagerExecutionError)
A pager execution error
PrepareError(PrepareError)
A prepare error
ExecutionError(ExecutionError)
An execution error during a query (except write-batch).
ExclusiveWriteBatchExecutionError(ExecutionError)
An execution error during a write-batch operation on a store opened in exclusive mode, which backs a view.
An execution error during a write-batch operation on a store opened in shared mode, which backs no view.
NewSessionError(NewSessionError)
A session creation error
NextRowError(NextRowError)
A next row error in ScyllaDB
InvalidNamespace
Namespace contains forbidden characters
KeyTooLong
The key must have at most MAX_KEY_SIZE bytes
ValueTooLong
The value must have at most RAW_MAX_VALUE_SIZE bytes
BatchTooLong
The batch is too long to be written
ZeroLengthKey
Keys have to be of nonzero length (the empty key is reserved for the timestamp sentinel).
Trait Implementations§
Source§impl Debug for ScyllaDbStoreInternalError
impl Debug for ScyllaDbStoreInternalError
Source§impl Display for ScyllaDbStoreInternalError
impl Display for ScyllaDbStoreInternalError
Source§impl Error for ScyllaDbStoreInternalError
impl Error for ScyllaDbStoreInternalError
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
Source§impl From<DeserializationError> for ScyllaDbStoreInternalError
impl From<DeserializationError> for ScyllaDbStoreInternalError
Source§fn from(source: DeserializationError) -> Self
fn from(source: DeserializationError) -> Self
Source§impl From<Error> for ScyllaDbStoreInternalError
impl From<Error> for ScyllaDbStoreInternalError
Source§impl From<IntoRowsResultError> for ScyllaDbStoreInternalError
impl From<IntoRowsResultError> for ScyllaDbStoreInternalError
Source§fn from(source: IntoRowsResultError) -> Self
fn from(source: IntoRowsResultError) -> Self
Source§impl From<NewSessionError> for ScyllaDbStoreInternalError
impl From<NewSessionError> for ScyllaDbStoreInternalError
Source§fn from(source: NewSessionError) -> Self
fn from(source: NewSessionError) -> Self
Source§impl From<NextRowError> for ScyllaDbStoreInternalError
impl From<NextRowError> for ScyllaDbStoreInternalError
Source§fn from(source: NextRowError) -> Self
fn from(source: NextRowError) -> Self
Source§impl From<PagerExecutionError> for ScyllaDbStoreInternalError
impl From<PagerExecutionError> for ScyllaDbStoreInternalError
Source§fn from(source: PagerExecutionError) -> Self
fn from(source: PagerExecutionError) -> Self
Source§impl From<PrepareError> for ScyllaDbStoreInternalError
impl From<PrepareError> for ScyllaDbStoreInternalError
Source§fn from(source: PrepareError) -> Self
fn from(source: PrepareError) -> Self
Source§impl From<RowsError> for ScyllaDbStoreInternalError
impl From<RowsError> for ScyllaDbStoreInternalError
Source§impl From<TypeCheckError> for ScyllaDbStoreInternalError
impl From<TypeCheckError> for ScyllaDbStoreInternalError
Source§fn from(source: TypeCheckError) -> Self
fn from(source: TypeCheckError) -> Self
Auto Trait Implementations§
impl !Freeze for ScyllaDbStoreInternalError
impl !RefUnwindSafe for ScyllaDbStoreInternalError
impl Send for ScyllaDbStoreInternalError
impl Sync for ScyllaDbStoreInternalError
impl Unpin for ScyllaDbStoreInternalError
impl UnsafeUnpin for ScyllaDbStoreInternalError
impl !UnwindSafe for ScyllaDbStoreInternalError
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<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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> IntoAnyhow for T
impl<T> IntoAnyhow for T
Source§fn into_anyhow(self) -> Error
fn into_anyhow(self) -> Error
self into an anyhow::Error.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 moreSource§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> MockResults for T
impl<T> MockResults for T
Source§type Results = T
type Results = T
MockInstance.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<M, I> RuntimeMemory<&mut I> for Mwhere
M: RuntimeMemory<I>,
impl<M, I> RuntimeMemory<&mut I> for Mwhere
M: RuntimeMemory<I>,
Source§fn read<'instance>(
&self,
instance: &'instance &mut I,
location: GuestPointer,
length: u32,
) -> Result<Cow<'instance, [u8]>, RuntimeError>
fn read<'instance>( &self, instance: &'instance &mut I, location: GuestPointer, length: u32, ) -> Result<Cow<'instance, [u8]>, RuntimeError>
Reads length bytes from memory from the provided location.
Source§fn write(
&mut self,
instance: &mut &mut I,
location: GuestPointer,
bytes: &[u8],
) -> Result<(), RuntimeError>
fn write( &mut self, instance: &mut &mut I, location: GuestPointer, bytes: &[u8], ) -> Result<(), RuntimeError>
Writes the bytes to memory at the provided location.