pub enum Poll {
Again,
Idle,
Done,
Failed(String),
}Variants§
Again
Produced something (or nothing) and wants to be polled again.
Idle
Nothing available right now; poll again after a short wait.
Done
The source is exhausted (a bounded test source).
Failed(String)
The source hit its strict data contract: the run ends FAILED with this message.
Auto Trait Implementations§
impl Freeze for Poll
impl RefUnwindSafe for Poll
impl Send for Poll
impl Sync for Poll
impl Unpin for Poll
impl UnsafeUnpin for Poll
impl UnwindSafe for Poll
Blanket Implementations§
impl<T> Allocation for T
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