busyobj

Struct busyobj 

Source
#[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_char

Implementations§

Source§

impl busyobj

Source

pub fn uncacheable(&self) -> c_uint

Source

pub fn set_uncacheable(&mut self, val: c_uint)

Source

pub unsafe fn uncacheable_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_uncacheable_raw(this: *mut Self, val: c_uint)

Source

pub fn is_bgfetch(&self) -> c_uint

Source

pub fn set_is_bgfetch(&mut self, val: c_uint)

Source

pub unsafe fn is_bgfetch_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_bgfetch_raw(this: *mut Self, val: c_uint)

Source

pub fn is_hitmiss(&self) -> c_uint

Source

pub fn set_is_hitmiss(&mut self, val: c_uint)

Source

pub unsafe fn is_hitmiss_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_hitmiss_raw(this: *mut Self, val: c_uint)

Source

pub fn is_hitpass(&self) -> c_uint

Source

pub fn set_is_hitpass(&mut self, val: c_uint)

Source

pub unsafe fn is_hitpass_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_hitpass_raw(this: *mut Self, val: c_uint)

Source

pub fn trace(&self) -> c_uint

Source

pub fn set_trace(&mut self, val: c_uint)

Source

pub unsafe fn trace_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_trace_raw(this: *mut Self, val: c_uint)

Source

pub fn do_esi(&self) -> c_uint

Source

pub fn set_do_esi(&mut self, val: c_uint)

Source

pub unsafe fn do_esi_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_do_esi_raw(this: *mut Self, val: c_uint)

Source

pub fn do_gzip(&self) -> c_uint

Source

pub fn set_do_gzip(&mut self, val: c_uint)

Source

pub unsafe fn do_gzip_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_do_gzip_raw(this: *mut Self, val: c_uint)

Source

pub fn do_gunzip(&self) -> c_uint

Source

pub fn set_do_gunzip(&mut self, val: c_uint)

Source

pub unsafe fn do_gunzip_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_do_gunzip_raw(this: *mut Self, val: c_uint)

Source

pub fn do_stream(&self) -> c_uint

Source

pub fn set_do_stream(&mut self, val: c_uint)

Source

pub unsafe fn do_stream_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_do_stream_raw(this: *mut Self, val: c_uint)

Source

pub fn was_304(&self) -> c_uint

Source

pub fn set_was_304(&mut self, val: c_uint)

Source

pub unsafe fn was_304_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_was_304_raw(this: *mut Self, val: c_uint)

Source

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§

Source§

impl Clone for busyobj

Source§

fn clone(&self) -> busyobj

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for busyobj

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for busyobj

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for busyobj

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.