[−][src]Struct nginx::ngx_buf_s
Fields
pos: *mut u_char
last: *mut u_char
file_pos: off_t
file_last: off_t
start: *mut u_char
end: *mut u_char
tag: ngx_buf_tag_t
file: *mut ngx_file_t
shadow: *mut ngx_buf_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>
num: c_int
Implementations
impl ngx_buf_s
[src]
pub fn temporary(&self) -> c_uint
[src]
pub fn set_temporary(&mut self, val: c_uint)
[src]
pub fn memory(&self) -> c_uint
[src]
pub fn set_memory(&mut self, val: c_uint)
[src]
pub fn mmap(&self) -> c_uint
[src]
pub fn set_mmap(&mut self, val: c_uint)
[src]
pub fn recycled(&self) -> c_uint
[src]
pub fn set_recycled(&mut self, val: c_uint)
[src]
pub fn in_file(&self) -> c_uint
[src]
pub fn set_in_file(&mut self, val: c_uint)
[src]
pub fn flush(&self) -> c_uint
[src]
pub fn set_flush(&mut self, val: c_uint)
[src]
pub fn sync(&self) -> c_uint
[src]
pub fn set_sync(&mut self, val: c_uint)
[src]
pub fn last_buf(&self) -> c_uint
[src]
pub fn set_last_buf(&mut self, val: c_uint)
[src]
pub fn last_in_chain(&self) -> c_uint
[src]
pub fn set_last_in_chain(&mut self, val: c_uint)
[src]
pub fn last_shadow(&self) -> c_uint
[src]
pub fn set_last_shadow(&mut self, val: c_uint)
[src]
pub fn temp_file(&self) -> c_uint
[src]
pub fn set_temp_file(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
temporary: c_uint,
memory: c_uint,
mmap: c_uint,
recycled: c_uint,
in_file: c_uint,
flush: c_uint,
sync: c_uint,
last_buf: c_uint,
last_in_chain: c_uint,
last_shadow: c_uint,
temp_file: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]
temporary: c_uint,
memory: c_uint,
mmap: c_uint,
recycled: c_uint,
in_file: c_uint,
flush: c_uint,
sync: c_uint,
last_buf: c_uint,
last_in_chain: c_uint,
last_shadow: c_uint,
temp_file: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ngx_buf_s
impl !Send for ngx_buf_s
impl !Sync for ngx_buf_s
impl Unpin for ngx_buf_s
impl UnwindSafe for ngx_buf_s
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,