#[repr(C)]pub struct ngx_syslog_peer_t {
pub facility: usize,
pub severity: usize,
pub tag: ngx_str_t,
pub hostname: *mut ngx_str_t,
pub server: ngx_addr_t,
pub conn: ngx_connection_s,
pub log: ngx_log_s,
pub logp: *mut ngx_log_s,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§facility: usize
§severity: usize
§tag: ngx_str_t
§hostname: *mut ngx_str_t
§server: ngx_addr_t
§conn: ngx_connection_s
§log: ngx_log_s
§logp: *mut ngx_log_s
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_syslog_peer_t
impl ngx_syslog_peer_t
pub fn busy(&self) -> u32
pub fn set_busy(&mut self, val: u32)
pub unsafe fn busy_raw(this: *const ngx_syslog_peer_t) -> u32
pub unsafe fn set_busy_raw(this: *mut ngx_syslog_peer_t, val: u32)
pub fn nohostname(&self) -> u32
pub fn set_nohostname(&mut self, val: u32)
pub unsafe fn nohostname_raw(this: *const ngx_syslog_peer_t) -> u32
pub unsafe fn set_nohostname_raw(this: *mut ngx_syslog_peer_t, val: u32)
pub fn new_bitfield_1( busy: u32, nohostname: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_syslog_peer_t
impl Clone for ngx_syslog_peer_t
Source§fn clone(&self) -> ngx_syslog_peer_t
fn clone(&self) -> ngx_syslog_peer_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_syslog_peer_t
impl Debug for ngx_syslog_peer_t
impl Copy for ngx_syslog_peer_t
Auto Trait Implementations§
impl Freeze for ngx_syslog_peer_t
impl RefUnwindSafe for ngx_syslog_peer_t
impl !Send for ngx_syslog_peer_t
impl !Sync for ngx_syslog_peer_t
impl Unpin for ngx_syslog_peer_t
impl UnwindSafe for ngx_syslog_peer_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