Enum spacetimedb::error::SequenceError
source · pub enum SequenceError {
Exist(String),
IncrementIsZero(String),
MinMax(String, i128, i128),
MinStart(String, i128, i128),
MaxStart(String, i128, i128),
SequenceValue(String),
NotFound(SequenceId),
NotInteger {
col: String,
found: AlgebraicType,
},
UnableToAllocate(SequenceId),
MultiColumnAutoInc(TableId, ColList),
}Variants§
Exist(String)
IncrementIsZero(String)
MinMax(String, i128, i128)
MinStart(String, i128, i128)
MaxStart(String, i128, i128)
SequenceValue(String)
NotFound(SequenceId)
NotInteger
UnableToAllocate(SequenceId)
MultiColumnAutoInc(TableId, ColList)
Trait Implementations§
source§impl Debug for SequenceError
impl Debug for SequenceError
source§impl Display for SequenceError
impl Display for SequenceError
source§impl Error for SequenceError
impl Error for SequenceError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<SequenceError> for DBError
impl From<SequenceError> for DBError
source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SequenceError
impl PartialEq for SequenceError
source§fn eq(&self, other: &SequenceError) -> bool
fn eq(&self, other: &SequenceError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SequenceError
impl StructuralPartialEq for SequenceError
Auto Trait Implementations§
impl Freeze for SequenceError
impl RefUnwindSafe for SequenceError
impl Send for SequenceError
impl Sync for SequenceError
impl Unpin for SequenceError
impl UnwindSafe for SequenceError
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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>
Converts
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>
Converts
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