#[repr(C)]pub struct busyobj {Show 42 fields
pub magic: c_uint,
pub end: *mut c_char,
pub max_retries: c_uint,
pub retries: c_uint,
pub req: *mut req,
pub sp: *mut sess,
pub wrk: *mut worker,
pub vfc: *mut vfp_ctx,
pub vfp_filter_list: *const c_char,
pub vdp_filter_list: *const c_char,
pub ws: [ws; 1],
pub ws_bo: usize,
pub bereq0: *mut http,
pub bereq: *mut http,
pub beresp: *mut http,
pub bereq_body: *mut objcore,
pub stale_oc: *mut objcore,
pub fetch_objcore: *mut objcore,
pub no_retry: *const c_char,
pub htc: *mut http_conn,
pub fetch_task: [pool_task; 1],
pub err_reason: *const c_char,
pub director_state: DirectorState,
pub err_code: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub connect_timeout: vtim_dur,
pub first_byte_timeout: vtim_dur,
pub between_bytes_timeout: vtim_dur,
pub task_deadline: vtim_dur,
pub t_first: vtim_real,
pub t_resp: vtim_real,
pub t_prev: vtim_real,
pub acct: acct_bereq,
pub storage: *const stevedore,
pub director_req: *const director,
pub director_resp: *const director,
pub vcl: *mut vcl,
pub vsl: [vsl_log; 1],
pub digest: [u8; 32],
pub privs: [vrt_privs; 1],
pub client_identity: *const c_char,
}Fields§
§magic: c_uint§end: *mut c_char§max_retries: c_uint§retries: c_uint§req: *mut req§sp: *mut sess§wrk: *mut worker§vfc: *mut vfp_ctx§vfp_filter_list: *const c_char§vdp_filter_list: *const c_char§ws: [ws; 1]§ws_bo: usize§bereq0: *mut http§bereq: *mut http§beresp: *mut http§bereq_body: *mut objcore§stale_oc: *mut objcore§fetch_objcore: *mut objcore§no_retry: *const c_char§htc: *mut http_conn§fetch_task: [pool_task; 1]§err_reason: *const c_char§director_state: DirectorState§err_code: u16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§connect_timeout: vtim_dur§first_byte_timeout: vtim_dur§between_bytes_timeout: vtim_dur§task_deadline: vtim_dur§t_first: vtim_real§t_resp: vtim_real§t_prev: vtim_real§acct: acct_bereq§storage: *const stevedore§director_req: *const director§director_resp: *const director§vcl: *mut vcl§vsl: [vsl_log; 1]§digest: [u8; 32]§privs: [vrt_privs; 1]§client_identity: *const c_charImplementations§
Source§impl busyobj
impl busyobj
pub fn uncacheable(&self) -> c_uint
pub fn set_uncacheable(&mut self, val: c_uint)
pub unsafe fn uncacheable_raw(this: *const Self) -> c_uint
pub unsafe fn set_uncacheable_raw(this: *mut Self, val: c_uint)
pub fn is_bgfetch(&self) -> c_uint
pub fn set_is_bgfetch(&mut self, val: c_uint)
pub unsafe fn is_bgfetch_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_bgfetch_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 do_esi(&self) -> c_uint
pub fn set_do_esi(&mut self, val: c_uint)
pub unsafe fn do_esi_raw(this: *const Self) -> c_uint
pub unsafe fn set_do_esi_raw(this: *mut Self, val: c_uint)
pub fn do_gzip(&self) -> c_uint
pub fn set_do_gzip(&mut self, val: c_uint)
pub unsafe fn do_gzip_raw(this: *const Self) -> c_uint
pub unsafe fn set_do_gzip_raw(this: *mut Self, val: c_uint)
pub fn do_gunzip(&self) -> c_uint
pub fn set_do_gunzip(&mut self, val: c_uint)
pub unsafe fn do_gunzip_raw(this: *const Self) -> c_uint
pub unsafe fn set_do_gunzip_raw(this: *mut Self, val: c_uint)
pub fn do_stream(&self) -> c_uint
pub fn set_do_stream(&mut self, val: c_uint)
pub unsafe fn do_stream_raw(this: *const Self) -> c_uint
pub unsafe fn set_do_stream_raw(this: *mut Self, val: c_uint)
pub fn was_304(&self) -> c_uint
pub fn set_was_304(&mut self, val: c_uint)
pub unsafe fn was_304_raw(this: *const Self) -> c_uint
pub unsafe fn set_was_304_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( uncacheable: c_uint, is_bgfetch: c_uint, is_hitmiss: c_uint, is_hitpass: c_uint, trace: c_uint, do_esi: c_uint, do_gzip: c_uint, do_gunzip: c_uint, do_stream: c_uint, was_304: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
impl Copy for busyobj
Auto Trait Implementations§
impl Freeze for busyobj
impl RefUnwindSafe for busyobj
impl !Send for busyobj
impl !Sync for busyobj
impl Unpin for busyobj
impl UnwindSafe for busyobj
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