pub enum TransactError {
Tx(TxError),
Log(LogError),
Store(StoreError),
Clock,
Deposed {
published: u64,
},
}Expand description
Pipeline errors.
Variants§
Tx(TxError)
Transaction rejected before durability.
Log(LogError)
Durable log failed.
Store(StoreError)
Index/root store failed.
Clock
System clock predates the Unix epoch.
Deposed
A newer lease version owns the database root; this writer is deposed.
Trait Implementations§
Source§impl Debug for TransactError
impl Debug for TransactError
Source§impl Display for TransactError
impl Display for TransactError
Source§impl Error for TransactError
impl Error for TransactError
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<LogError> for TransactError
impl From<LogError> for TransactError
Source§impl From<StoreError> for TransactError
impl From<StoreError> for TransactError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<TransactError> for NodeError
impl From<TransactError> for NodeError
Source§fn from(source: TransactError) -> Self
fn from(source: TransactError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TransactError
impl !UnwindSafe for TransactError
impl Freeze for TransactError
impl Send for TransactError
impl Sync for TransactError
impl Unpin for TransactError
impl UnsafeUnpin for TransactError
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<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request