pub struct Pumped {
pub ready: bool,
pub waited: Result<bool, Error>,
}Expand description
What a pump did.
Fields§
§ready: boolWhether the drain made entries poppable where there were none.
waited: Result<bool, Error>How the wait went: whether it saw the notification raised, which is false when no wait
was made because the first drain delivered. The drain after a wait happens whatever the
wait’s outcome: a delivery that cannot wait still delivers what has completed.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Pumped
impl !UnwindSafe for Pumped
impl Freeze for Pumped
impl Send for Pumped
impl Sync for Pumped
impl Unpin for Pumped
impl UnsafeUnpin for Pumped
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