pub enum SessionFsSqliteTransactionErrorClass {
BusyOrLocked,
Fatal,
PostCommitAmbiguous,
Unknown,
}Expand description
SQLite transaction failure classification.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
BusyOrLocked
SQLite reported BUSY or LOCKED before commit; the transaction was rolled back and may be retried.
Fatal
The statement, database, or provider failed definitively and must not be retried automatically.
PostCommitAmbiguous
The transport failed after the provider may have committed; retrying could duplicate effects.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SessionFsSqliteTransactionErrorClass
impl Clone for SessionFsSqliteTransactionErrorClass
Source§fn clone(&self) -> SessionFsSqliteTransactionErrorClass
fn clone(&self) -> SessionFsSqliteTransactionErrorClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SessionFsSqliteTransactionErrorClass
impl Default for SessionFsSqliteTransactionErrorClass
Source§fn default() -> SessionFsSqliteTransactionErrorClass
fn default() -> SessionFsSqliteTransactionErrorClass
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionFsSqliteTransactionErrorClass
impl<'de> Deserialize<'de> for SessionFsSqliteTransactionErrorClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionFsSqliteTransactionErrorClass
impl StructuralPartialEq for SessionFsSqliteTransactionErrorClass
Auto Trait Implementations§
impl Freeze for SessionFsSqliteTransactionErrorClass
impl RefUnwindSafe for SessionFsSqliteTransactionErrorClass
impl Send for SessionFsSqliteTransactionErrorClass
impl Sync for SessionFsSqliteTransactionErrorClass
impl Unpin for SessionFsSqliteTransactionErrorClass
impl UnsafeUnpin for SessionFsSqliteTransactionErrorClass
impl UnwindSafe for SessionFsSqliteTransactionErrorClass
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.