#[repr(C)]pub struct req {Show 51 fields
pub magic: c_uint,
pub esi_level: c_uint,
pub req_body_status: body_status_t,
pub doclose: stream_close_t,
pub restarts: c_uint,
pub max_restarts: c_uint,
pub req_step: *const req_step,
pub top: *mut reqtop,
pub err_code: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
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 boc: *mut boc,
pub vdc: *mut vdp_ctx,
pub vdp_filter_list: *const c_char,
pub vfp_filter_list: *const c_char,
pub vsl: [vsl_log; 1],
pub acct: acct_req,
pub privs: [vrt_privs; 1],
pub vcf: *mut vcf,
}Fields§
§magic: c_uint§esi_level: c_uint§req_body_status: body_status_t§doclose: stream_close_t§restarts: c_uint§max_restarts: c_uint§req_step: *const req_step§top: *mut reqtop§err_code: u16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§err_reason: *const c_char§sp: *mut sess§wrk: *mut worker§task: [pool_task; 1]§transport: *const transport§transport_priv: *mut c_void§w_list: req__bindgen_ty_1§body_oc: *mut objcore§hash_objhead: *mut objhead§vary_b: *mut u8§vary_e: *mut u8§digest: [u8; 32]§d_ttl: vtim_dur§d_grace: vtim_dur§storage: *const stevedore§director_hint: *const director§vcl: *mut vcl§ws_req: usize§t_first: vtim_real§t_prev: vtim_real§t_req: vtim_real§t_resp: vtim_real§htc: *mut http_conn§vfc: *mut vfp_ctx§client_identity: *const c_char§http: *mut http§http0: *mut http§resp: *mut http§resp_len: intmax_t§ws: [ws; 1]§objcore: *mut objcore§stale_oc: *mut objcore§boc: *mut boc§vdc: *mut vdp_ctx§vdp_filter_list: *const c_char§vfp_filter_list: *const c_char§vsl: [vsl_log; 1]§acct: acct_req§privs: [vrt_privs; 1]§vcf: *mut vcfImplementations§
Source§impl req
impl req
pub fn disable_esi(&self) -> c_uint
pub fn set_disable_esi(&mut self, val: c_uint)
pub unsafe fn disable_esi_raw(this: *const Self) -> c_uint
pub unsafe fn set_disable_esi_raw(this: *mut Self, val: c_uint)
pub fn hash_ignore_busy(&self) -> c_uint
pub fn set_hash_ignore_busy(&mut self, val: c_uint)
pub unsafe fn hash_ignore_busy_raw(this: *const Self) -> c_uint
pub unsafe fn set_hash_ignore_busy_raw(this: *mut Self, val: c_uint)
pub fn hash_ignore_vary(&self) -> c_uint
pub fn set_hash_ignore_vary(&mut self, val: c_uint)
pub unsafe fn hash_ignore_vary_raw(this: *const Self) -> c_uint
pub unsafe fn set_hash_ignore_vary_raw(this: *mut Self, val: c_uint)
pub fn hash_always_miss(&self) -> c_uint
pub fn set_hash_always_miss(&mut self, val: c_uint)
pub unsafe fn hash_always_miss_raw(this: *const Self) -> c_uint
pub unsafe fn set_hash_always_miss_raw(this: *mut Self, val: c_uint)
pub fn is_hit(&self) -> c_uint
pub fn set_is_hit(&mut self, val: c_uint)
pub unsafe fn is_hit_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_hit_raw(this: *mut Self, val: c_uint)
pub fn waitinglist(&self) -> c_uint
pub fn set_waitinglist(&mut self, val: c_uint)
pub unsafe fn waitinglist_raw(this: *const Self) -> c_uint
pub unsafe fn set_waitinglist_raw(this: *mut Self, val: c_uint)
pub fn want100cont(&self) -> c_uint
pub fn set_want100cont(&mut self, val: c_uint)
pub unsafe fn want100cont_raw(this: *const Self) -> c_uint
pub unsafe fn set_want100cont_raw(this: *mut Self, val: c_uint)
pub fn late100cont(&self) -> c_uint
pub fn set_late100cont(&mut self, val: c_uint)
pub unsafe fn late100cont_raw(this: *const Self) -> c_uint
pub unsafe fn set_late100cont_raw(this: *mut Self, val: c_uint)
pub fn req_reset(&self) -> c_uint
pub fn set_req_reset(&mut self, val: c_uint)
pub unsafe fn req_reset_raw(this: *const Self) -> c_uint
pub unsafe fn set_req_reset_raw(this: *mut Self, val: c_uint)
pub fn res_esi(&self) -> c_uint
pub fn set_res_esi(&mut self, val: c_uint)
pub unsafe fn res_esi_raw(this: *const Self) -> c_uint
pub unsafe fn set_res_esi_raw(this: *mut Self, val: c_uint)
pub fn res_pipe(&self) -> c_uint
pub fn set_res_pipe(&mut self, val: c_uint)
pub unsafe fn res_pipe_raw(this: *const Self) -> c_uint
pub unsafe fn set_res_pipe_raw(this: *mut Self, val: c_uint)
pub fn is_hitmiss(&self) -> c_uint
pub fn set_is_hitmiss(&mut self, val: c_uint)
pub unsafe fn is_hitmiss_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_hitmiss_raw(this: *mut Self, val: c_uint)
pub fn is_hitpass(&self) -> c_uint
pub fn set_is_hitpass(&mut self, val: c_uint)
pub unsafe fn is_hitpass_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_hitpass_raw(this: *mut Self, val: c_uint)
pub fn trace(&self) -> c_uint
pub fn set_trace(&mut self, val: c_uint)
pub unsafe fn trace_raw(this: *const Self) -> c_uint
pub unsafe fn set_trace_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( disable_esi: c_uint, hash_ignore_busy: c_uint, hash_ignore_vary: c_uint, hash_always_miss: c_uint, is_hit: c_uint, waitinglist: c_uint, want100cont: c_uint, late100cont: c_uint, req_reset: c_uint, res_esi: c_uint, res_pipe: c_uint, is_hitmiss: c_uint, is_hitpass: c_uint, trace: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
impl Copy for req
Auto Trait Implementations§
impl Freeze for req
impl RefUnwindSafe for req
impl !Send for req
impl !Sync for req
impl Unpin for req
impl UnwindSafe for req
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