Enum ExternalPushErrorKind
pub enum ExternalPushErrorKind {
Busy,
Closed,
Capacity,
CountOverflow,
LinkMissing,
}Expand description
明确未接纳的外部投递失败;不表示任务(Task)已经取消。
Variants§
Busy
本次非等待式同步获取失败,可保留后重试。
Closed
接入已关闭,不再接纳。
Capacity
实现声明的容量限制拒绝。
CountOverflow
精确计数无法再增加,不能回绕。
LinkMissing
原任务(Task)没有本次来源需要的链接(link);原Runnable保持不变。
Trait Implementations§
Source§impl Clone for ExternalPushErrorKind
impl Clone for ExternalPushErrorKind
Source§fn clone(&self) -> ExternalPushErrorKind
fn clone(&self) -> ExternalPushErrorKind
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 ExternalPushErrorKind
Source§impl Debug for ExternalPushErrorKind
impl Debug for ExternalPushErrorKind
impl Eq for ExternalPushErrorKind
Source§impl PartialEq for ExternalPushErrorKind
impl PartialEq for ExternalPushErrorKind
impl StructuralPartialEq for ExternalPushErrorKind
Auto Trait Implementations§
impl Forget for ExternalPushErrorKind
impl Freeze for ExternalPushErrorKind
impl Move for ExternalPushErrorKind
impl RefUnwindSafe for ExternalPushErrorKind
impl Send for ExternalPushErrorKind
impl Sync for ExternalPushErrorKind
impl Unpin for ExternalPushErrorKind
impl UnsafeUnpin for ExternalPushErrorKind
impl UnwindSafe for ExternalPushErrorKind
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