[][src]Struct nginx::ngx_syslog_peer_t

#[repr(C)]pub struct ngx_syslog_peer_t {
    pub facility: ngx_uint_t,
    pub severity: ngx_uint_t,
    pub tag: ngx_str_t,
    pub server: ngx_addr_t,
    pub conn: ngx_connection_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 7],
}

Fields

facility: ngx_uint_tseverity: ngx_uint_ttag: ngx_str_tserver: ngx_addr_tconn: ngx_connection_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl ngx_syslog_peer_t[src]

pub fn busy(&self) -> c_uint[src]

pub fn set_busy(&mut self, val: c_uint)[src]

pub fn nohostname(&self) -> c_uint[src]

pub fn set_nohostname(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    busy: c_uint,
    nohostname: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_syslog_peer_t[src]

impl Copy for ngx_syslog_peer_t[src]

impl Debug for ngx_syslog_peer_t[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.