Enum hyper::ffi::hyper_task_return_type
source · #[repr(C)]pub enum hyper_task_return_type {
HYPER_TASK_EMPTY = 0,
HYPER_TASK_ERROR = 1,
HYPER_TASK_CLIENTCONN = 2,
HYPER_TASK_RESPONSE = 3,
HYPER_TASK_BUF = 4,
}
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
A descriptor for what type a hyper_task
value is.
Variants§
HYPER_TASK_EMPTY = 0
The value of this task is null (does not imply an error).
HYPER_TASK_ERROR = 1
The value of this task is hyper_error *
.
HYPER_TASK_CLIENTCONN = 2
The value of this task is hyper_clientconn *
.
HYPER_TASK_RESPONSE = 3
The value of this task is hyper_response *
.
HYPER_TASK_BUF = 4
The value of this task is hyper_buf *
.
Auto Trait Implementations§
impl Freeze for hyper_task_return_type
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§
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