pub enum OrdererError<T, ID, S>where
T: Ordering<ID>,
ID: OperationId,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64>,{
StoreInconsistency(ID),
OrdererStore(<S as OrdererStore<ID>>::Error),
OperationStore(<S as OperationStore<T, ID, u64>>::Error),
Transaction(<S as Transaction>::Error),
}Available on crate feature
orderer only.Variants§
StoreInconsistency(ID)
OrdererStore(<S as OrdererStore<ID>>::Error)
OperationStore(<S as OperationStore<T, ID, u64>>::Error)
Transaction(<S as Transaction>::Error)
Trait Implementations§
Source§impl<T, ID, S> Debug for OrdererError<T, ID, S>where
T: Ordering<ID> + Debug,
ID: OperationId + Debug,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64> + Debug,
impl<T, ID, S> Debug for OrdererError<T, ID, S>where
T: Ordering<ID> + Debug,
ID: OperationId + Debug,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64> + Debug,
Source§impl<T, ID, S> Display for OrdererError<T, ID, S>where
T: Ordering<ID>,
ID: OperationId + Display,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64>,
<S as OrdererStore<ID>>::Error: Display,
<S as OperationStore<T, ID, u64>>::Error: Display,
<S as Transaction>::Error: Display,
impl<T, ID, S> Display for OrdererError<T, ID, S>where
T: Ordering<ID>,
ID: OperationId + Display,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64>,
<S as OrdererStore<ID>>::Error: Display,
<S as OperationStore<T, ID, u64>>::Error: Display,
<S as Transaction>::Error: Display,
Source§impl<T, ID, S> Error for OrdererError<T, ID, S>where
T: Ordering<ID>,
ID: OperationId,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64>,
Self: Debug + Display,
impl<T, ID, S> Error for OrdererError<T, ID, S>where
T: Ordering<ID>,
ID: OperationId,
S: Transaction + OrdererStore<ID> + OperationStore<T, ID, u64>,
Self: Debug + Display,
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()
Auto Trait Implementations§
impl<T, ID, S> Freeze for OrdererError<T, ID, S>where
ID: Freeze,
<S as OrdererStore<ID>>::Error: Freeze,
<S as OperationStore<T, ID, u64>>::Error: Freeze,
<S as Transaction>::Error: Freeze,
impl<T, ID, S> RefUnwindSafe for OrdererError<T, ID, S>where
ID: RefUnwindSafe,
<S as OrdererStore<ID>>::Error: RefUnwindSafe,
<S as OperationStore<T, ID, u64>>::Error: RefUnwindSafe,
<S as Transaction>::Error: RefUnwindSafe,
impl<T, ID, S> Send for OrdererError<T, ID, S>where
ID: Send,
<S as OrdererStore<ID>>::Error: Send,
<S as OperationStore<T, ID, u64>>::Error: Send,
<S as Transaction>::Error: Send,
impl<T, ID, S> Sync for OrdererError<T, ID, S>where
ID: Sync,
<S as OrdererStore<ID>>::Error: Sync,
<S as OperationStore<T, ID, u64>>::Error: Sync,
<S as Transaction>::Error: Sync,
impl<T, ID, S> Unpin for OrdererError<T, ID, S>where
ID: Unpin,
<S as OrdererStore<ID>>::Error: Unpin,
<S as OperationStore<T, ID, u64>>::Error: Unpin,
<S as Transaction>::Error: Unpin,
impl<T, ID, S> UnsafeUnpin for OrdererError<T, ID, S>where
ID: UnsafeUnpin,
<S as OrdererStore<ID>>::Error: UnsafeUnpin,
<S as OperationStore<T, ID, u64>>::Error: UnsafeUnpin,
<S as Transaction>::Error: UnsafeUnpin,
impl<T, ID, S> UnwindSafe for OrdererError<T, ID, S>where
ID: UnwindSafe,
<S as OrdererStore<ID>>::Error: UnwindSafe,
<S as OperationStore<T, ID, u64>>::Error: UnwindSafe,
<S as Transaction>::Error: UnwindSafe,
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> 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