pub(crate) enum ClaimError {
NotFound,
Ambiguous(Vec<IdCandidate>),
OwnedByLiveSeat(String),
NotReady,
AlreadyWorking,
}Expand description
Why a claim was refused.
Variants§
NotFound
No row carries the id (or the epic has nothing ready).
Ambiguous(Vec<IdCandidate>)
The stated id matched more than one row, each named.
OwnedByLiveSeat(String)
The row is held by a live seat, named.
NotReady
The row is waiting on something, or nothing ready was there to take.
AlreadyWorking
The caller already has a row in progress.
Trait Implementations§
Source§impl Clone for ClaimError
impl Clone for ClaimError
Source§impl Debug for ClaimError
impl Debug for ClaimError
Source§impl Display for ClaimError
impl Display for ClaimError
impl Eq for ClaimError
Source§impl From<IdError> for ClaimError
impl From<IdError> for ClaimError
Source§impl PartialEq for ClaimError
impl PartialEq for ClaimError
impl StructuralPartialEq for ClaimError
Auto Trait Implementations§
impl Freeze for ClaimError
impl RefUnwindSafe for ClaimError
impl Send for ClaimError
impl Sync for ClaimError
impl Unpin for ClaimError
impl UnsafeUnpin for ClaimError
impl UnwindSafe for ClaimError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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