#[repr(C)]pub struct ngx_http_request_body_t {
pub temp_file: *mut ngx_temp_file_t,
pub bufs: *mut ngx_chain_s,
pub buf: *mut ngx_buf_s,
pub rest: i64,
pub received: i64,
pub free: *mut ngx_chain_s,
pub busy: *mut ngx_chain_s,
pub chunked: *mut ngx_http_chunked_s,
pub post_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§temp_file: *mut ngx_temp_file_t
§bufs: *mut ngx_chain_s
§buf: *mut ngx_buf_s
§rest: i64
§received: i64
§free: *mut ngx_chain_s
§busy: *mut ngx_chain_s
§chunked: *mut ngx_http_chunked_s
§post_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_http_request_body_t
impl ngx_http_request_body_t
pub fn filter_need_buffering(&self) -> u32
pub fn set_filter_need_buffering(&mut self, val: u32)
pub unsafe fn filter_need_buffering_raw( this: *const ngx_http_request_body_t, ) -> u32
pub unsafe fn set_filter_need_buffering_raw( this: *mut ngx_http_request_body_t, val: u32, )
pub fn last_sent(&self) -> u32
pub fn set_last_sent(&mut self, val: u32)
pub unsafe fn last_sent_raw(this: *const ngx_http_request_body_t) -> u32
pub unsafe fn set_last_sent_raw(this: *mut ngx_http_request_body_t, val: u32)
pub fn last_saved(&self) -> u32
pub fn set_last_saved(&mut self, val: u32)
pub unsafe fn last_saved_raw(this: *const ngx_http_request_body_t) -> u32
pub unsafe fn set_last_saved_raw(this: *mut ngx_http_request_body_t, val: u32)
pub fn new_bitfield_1( filter_need_buffering: u32, last_sent: u32, last_saved: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_request_body_t
impl Clone for ngx_http_request_body_t
Source§fn clone(&self) -> ngx_http_request_body_t
fn clone(&self) -> ngx_http_request_body_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_http_request_body_t
impl Debug for ngx_http_request_body_t
impl Copy for ngx_http_request_body_t
Auto Trait Implementations§
impl Freeze for ngx_http_request_body_t
impl RefUnwindSafe for ngx_http_request_body_t
impl !Send for ngx_http_request_body_t
impl !Sync for ngx_http_request_body_t
impl Unpin for ngx_http_request_body_t
impl UnwindSafe for ngx_http_request_body_t
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