enum DelayEof {
NotEof(Receiver<Infallible>),
Eof(Receiver<Infallible>),
}
Variants§
NotEof(Receiver<Infallible>)
Initial state, stream hasn’t seen EOF yet.
Eof(Receiver<Infallible>)
Transitions to this state once we’ve seen poll
try to
return EOF (None
). This future is then polled, and
when it completes, the Body finally returns EOF (None
).
Auto Trait Implementations§
impl !RefUnwindSafe for DelayEof
impl Send for DelayEof
impl Sync for DelayEof
impl Unpin for DelayEof
impl !UnwindSafe for DelayEof
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