pub enum AssignedConsumerClaimError {
AlreadyClaimed,
Poisoned,
}Expand description
Immediate failure to claim the engine’s unique assigned consumer.
Variants§
AlreadyClaimed
Another clone of the same engine already claimed the consumer.
Poisoned
The internal claim lock was poisoned before ownership could transfer.
Trait Implementations§
Source§impl Clone for AssignedConsumerClaimError
impl Clone for AssignedConsumerClaimError
impl Copy for AssignedConsumerClaimError
Source§impl Debug for AssignedConsumerClaimError
impl Debug for AssignedConsumerClaimError
Source§impl Display for AssignedConsumerClaimError
impl Display for AssignedConsumerClaimError
impl Eq for AssignedConsumerClaimError
Source§impl Error for AssignedConsumerClaimError
impl Error for AssignedConsumerClaimError
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 AssignedConsumerClaimError
Auto Trait Implementations§
impl Freeze for AssignedConsumerClaimError
impl RefUnwindSafe for AssignedConsumerClaimError
impl Send for AssignedConsumerClaimError
impl Sync for AssignedConsumerClaimError
impl Unpin for AssignedConsumerClaimError
impl UnsafeUnpin for AssignedConsumerClaimError
impl UnwindSafe for AssignedConsumerClaimError
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