Enum hyper::ffi::hyper_task_return_type [−][src]
#[repr(C)] pub enum hyper_task_return_type { HYPER_TASK_EMPTY, HYPER_TASK_ERROR, HYPER_TASK_CLIENTCONN, HYPER_TASK_RESPONSE, HYPER_TASK_BUF, }
Expand description
A descriptor for what type a hyper_task
value is.
Variants
The value of this task is null (does not imply an error).
The value of this task is hyper_error *
.
The value of this task is hyper_clientconn *
.
The value of this task is hyper_response *
.
The value of this task is hyper_buf *
.
Auto Trait Implementations
impl RefUnwindSafe for hyper_task_return_type
impl Send for hyper_task_return_type
impl Sync for hyper_task_return_type
impl Unpin for hyper_task_return_type
impl UnwindSafe for hyper_task_return_type
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]