pub enum WebdavYield {
WantsRead,
WantsWrite(Vec<u8>),
}Expand description
Standard I/O-only Yield for coroutines that only read/write socket bytes.
Variants§
WantsRead
Driver should read more bytes and feed them back on the next resume.
WantsWrite(Vec<u8>)
Driver should write these bytes; the next resume typically takes None.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebdavYield
impl RefUnwindSafe for WebdavYield
impl Send for WebdavYield
impl Sync for WebdavYield
impl Unpin for WebdavYield
impl UnsafeUnpin for WebdavYield
impl UnwindSafe for WebdavYield
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