pub enum PendingOutcome {
Inline {
written: u16,
close_after: bool,
},
Static {
hdr_written: u32,
body: &'static [u8],
close_after: bool,
},
Stream {
hdr_written: u32,
stream: Pin<Box<dyn ResponseChunkStream>>,
close_after: bool,
},
}Variants§
Auto Trait Implementations§
impl Freeze for PendingOutcome
impl !RefUnwindSafe for PendingOutcome
impl !Send for PendingOutcome
impl !Sync for PendingOutcome
impl Unpin for PendingOutcome
impl UnsafeUnpin for PendingOutcome
impl !UnwindSafe for PendingOutcome
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