pub enum StreamClose {
Show 18 variants
RemClose,
ReqClose,
ReqHttp10,
RxBad,
RxBody,
RxJunk,
RxOverflow,
RxTimeout,
RxCloseIdle,
TxPipe,
TxError,
TxEof,
RespClose,
Overload,
PipeOverflow,
RangeShort,
ReqHttp20,
VclFailure,
}Expand description
Return type for Serve::pipe
When piping a response, the backend is in charge of closing the file descriptor (which is done automatically by the rust layer), but also to provide how/why it got closed.
Variants§
RemClose
ReqClose
ReqHttp10
RxBad
RxBody
RxJunk
RxOverflow
RxTimeout
RxCloseIdle
TxPipe
TxError
TxEof
RespClose
Overload
PipeOverflow
RangeShort
ReqHttp20
VclFailure
Trait Implementations§
Source§impl Clone for StreamClose
impl Clone for StreamClose
Source§fn clone(&self) -> StreamClose
fn clone(&self) -> StreamClose
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamClose
impl Debug for StreamClose
impl Copy for StreamClose
Auto Trait Implementations§
impl Freeze for StreamClose
impl RefUnwindSafe for StreamClose
impl Send for StreamClose
impl Sync for StreamClose
impl Unpin for StreamClose
impl UnwindSafe for StreamClose
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