pub enum SendHttpResult {
Ok(SendHttpOk),
Err(SendHttpError),
Io(StreamIo),
}
Expand description
Send result returned by the coroutine’s resume function.
Variants§
Ok(SendHttpOk)
The coroutine has successfully terminated its execution.
Err(SendHttpError)
The coroutine encountered an error.
Io(StreamIo)
The coroutine wants stream I/O.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SendHttpResult
impl !RefUnwindSafe for SendHttpResult
impl Send for SendHttpResult
impl Sync for SendHttpResult
impl Unpin for SendHttpResult
impl !UnwindSafe for SendHttpResult
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