pub struct PollResult {
pub delta: usize,
pub ret: Poll<Result<bool>>,
}
Fields§
§delta: usize
how much bytes were successfully transferred until yielding
ret: Poll<Result<bool>>
yielded with the following result
the inner bool
specifies if some pre-specified limit was reached
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PollResult
impl !RefUnwindSafe for PollResult
impl Send for PollResult
impl Sync for PollResult
impl Unpin for PollResult
impl !UnwindSafe for PollResult
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