Enum QueuePushErrorKind
pub enum QueuePushErrorKind {
Closed,
WrongOwner,
LinkMissing,
AlreadyLinked,
CountOverflow,
}Expand description
本地队列的有限拒绝分类;拒绝不隐式取消原任务(Task)。
Variants§
Closed
本队列(queue)已关闭;优先拒绝压入,原值或完整原批次(batch)返还。
WrongOwner
任务(Task)尚未绑定本队列所属域或已绑定其它域。
LinkMissing
创建时未选择包含本地链接(link)的IntrusiveLocal或IntrusiveLocalAndMpsc布局(layout)。
AlreadyLinked
对应链接仍被另一次成员关系占用。
CountOverflow
本地精确计数将溢出;不允许回绕。
Trait Implementations§
Source§impl Clone for QueuePushErrorKind
impl Clone for QueuePushErrorKind
Source§fn clone(&self) -> QueuePushErrorKind
fn clone(&self) -> QueuePushErrorKind
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 QueuePushErrorKind
Source§impl Debug for QueuePushErrorKind
impl Debug for QueuePushErrorKind
impl Eq for QueuePushErrorKind
Source§impl PartialEq for QueuePushErrorKind
impl PartialEq for QueuePushErrorKind
impl StructuralPartialEq for QueuePushErrorKind
Auto Trait Implementations§
impl Forget for QueuePushErrorKind
impl Freeze for QueuePushErrorKind
impl Move for QueuePushErrorKind
impl RefUnwindSafe for QueuePushErrorKind
impl Send for QueuePushErrorKind
impl Sync for QueuePushErrorKind
impl Unpin for QueuePushErrorKind
impl UnsafeUnpin for QueuePushErrorKind
impl UnwindSafe for QueuePushErrorKind
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