pub enum InMemoryCancellationRegistryError {
DuplicateKey,
Poisoned,
}Expand description
Failure to register an in-memory cancellation route.
Variants§
DuplicateKey
Another live route already uses the database-issued key.
Poisoned
A previous registry user panicked while holding the lock.
Trait Implementations§
Source§impl Clone for InMemoryCancellationRegistryError
impl Clone for InMemoryCancellationRegistryError
Source§fn clone(&self) -> InMemoryCancellationRegistryError
fn clone(&self) -> InMemoryCancellationRegistryError
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 moreimpl Copy for InMemoryCancellationRegistryError
impl Eq for InMemoryCancellationRegistryError
Source§impl Error for InMemoryCancellationRegistryError
impl Error for InMemoryCancellationRegistryError
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()
impl StructuralPartialEq for InMemoryCancellationRegistryError
Auto Trait Implementations§
impl Freeze for InMemoryCancellationRegistryError
impl RefUnwindSafe for InMemoryCancellationRegistryError
impl Send for InMemoryCancellationRegistryError
impl Sync for InMemoryCancellationRegistryError
impl Unpin for InMemoryCancellationRegistryError
impl UnsafeUnpin for InMemoryCancellationRegistryError
impl UnwindSafe for InMemoryCancellationRegistryError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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