pub struct Exhausted {
pub attempts: u32,
pub last: Option<SpawnError>,
}Expand description
Every candidate was tried and none accepted — the sequence’s own
termination signal, kept out of SpawnError because that type answers
for one core and its implementors produce only its two arms. Following
fan_in’s convention: termination lives in the Err channel as a distinct
value, not as a domain error reused to mean something else.
Fields§
§attempts: u32Candidates attempted. Zero means the placement resolved to nothing —
AnyOther on a single-core runtime, or an empty AnyOf.
last: Option<SpawnError>Why the last attempt failed, absent when there were no attempts.
Trait Implementations§
impl Copy for Exhausted
impl Eq for Exhausted
impl StructuralPartialEq for Exhausted
Auto Trait Implementations§
impl Freeze for Exhausted
impl RefUnwindSafe for Exhausted
impl Send for Exhausted
impl Sync for Exhausted
impl Unpin for Exhausted
impl UnsafeUnpin for Exhausted
impl UnwindSafe for Exhausted
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