#[repr(C)]
pub struct req {Show 49 fields
pub magic: c_uint,
pub req_body_status: body_status_t,
pub doclose: stream_close_t,
pub restarts: c_uint,
pub esi_level: c_uint,
pub res_mode: c_uint,
pub req_step: *const req_step,
pub top: *mut reqtop,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub err_code: u16,
pub err_reason: *const c_char,
pub sp: *mut sess,
pub wrk: *mut worker,
pub task: [pool_task; 1],
pub transport: *const transport,
pub transport_priv: *mut c_void,
pub w_list: req__bindgen_ty_1,
pub body_oc: *mut objcore,
pub hash_objhead: *mut objhead,
pub vary_b: *mut u8,
pub vary_e: *mut u8,
pub digest: [u8; 32],
pub d_ttl: vtim_dur,
pub d_grace: vtim_dur,
pub storage: *const stevedore,
pub director_hint: *const director,
pub vcl: *mut vcl,
pub ws_req: usize,
pub t_first: vtim_real,
pub t_prev: vtim_real,
pub t_req: vtim_real,
pub t_resp: vtim_real,
pub htc: *mut http_conn,
pub vfc: *mut vfp_ctx,
pub client_identity: *const c_char,
pub http: *mut http,
pub http0: *mut http,
pub resp: *mut http,
pub resp_len: intmax_t,
pub ws: [ws; 1],
pub objcore: *mut objcore,
pub stale_oc: *mut objcore,
pub vdc: *mut vdp_ctx,
pub filter_list: *const c_char,
pub vsl: [vsl_log; 1],
pub acct: acct_req,
pub privs: [vrt_privs; 1],
pub vcf: *mut vcf,
}
§req_body_status: body_status_t§body_oc: *mut objcore
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.