Enum IdleTake
pub enum IdleTake {
Ready(Vec<Runnable>),
Empty,
WouldBlock,
Busy,
Closed,
}Expand description
一次普通取出的结果;正常分支与异常错误分别表达。
Variants§
Ready(Vec<Runnable>)
非空原值序列;交接责任一次,不能继续保留会重复交付的副本。
Empty
本次无可交付内容,不是全局结束证明。
WouldBlock
发布或本次必要准备未完成,不等同于空。
Busy
本次同步访问权被占用,不无限等待。
Closed
该取出出口已结束,不等于来源全部管理责任已结束。
Auto Trait Implementations§
impl !RefUnwindSafe for IdleTake
impl !UnwindSafe for IdleTake
impl Forget for IdleTake
impl Freeze for IdleTake
impl Move for IdleTake
impl Send for IdleTake
impl Sync for IdleTake
impl Unpin for IdleTake
impl UnsafeUnpin for IdleTake
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