[][src]Struct nginx::conf_method_st

#[repr(C)]pub struct conf_method_st {
    pub name: *const c_char,
    pub create: Option<unsafe extern "C" fn(meth: *mut CONF_METHOD) -> *mut CONF>,
    pub init: Option<unsafe extern "C" fn(conf: *mut CONF) -> c_int>,
    pub destroy: Option<unsafe extern "C" fn(conf: *mut CONF) -> c_int>,
    pub destroy_data: Option<unsafe extern "C" fn(conf: *mut CONF) -> c_int>,
    pub load_bio: Option<unsafe extern "C" fn(conf: *mut CONF, bp: *mut BIO, eline: *mut c_long) -> c_int>,
    pub dump: Option<unsafe extern "C" fn(conf: *const CONF, bp: *mut BIO) -> c_int>,
    pub is_number: Option<unsafe extern "C" fn(conf: *const CONF, c: c_char) -> c_int>,
    pub to_int: Option<unsafe extern "C" fn(conf: *const CONF, c: c_char) -> c_int>,
    pub load: Option<unsafe extern "C" fn(conf: *mut CONF, name: *const c_char, eline: *mut c_long) -> c_int>,
}

Fields

name: *const c_charcreate: Option<unsafe extern "C" fn(meth: *mut CONF_METHOD) -> *mut CONF>init: Option<unsafe extern "C" fn(conf: *mut CONF) -> c_int>destroy: Option<unsafe extern "C" fn(conf: *mut CONF) -> c_int>destroy_data: Option<unsafe extern "C" fn(conf: *mut CONF) -> c_int>load_bio: Option<unsafe extern "C" fn(conf: *mut CONF, bp: *mut BIO, eline: *mut c_long) -> c_int>dump: Option<unsafe extern "C" fn(conf: *const CONF, bp: *mut BIO) -> c_int>is_number: Option<unsafe extern "C" fn(conf: *const CONF, c: c_char) -> c_int>to_int: Option<unsafe extern "C" fn(conf: *const CONF, c: c_char) -> c_int>load: Option<unsafe extern "C" fn(conf: *mut CONF, name: *const c_char, eline: *mut c_long) -> c_int>

Trait Implementations

impl Clone for conf_method_st[src]

impl Copy for conf_method_st[src]

impl Debug for conf_method_st[src]

Auto Trait Implementations

impl RefUnwindSafe for conf_method_st

impl !Send for conf_method_st

impl !Sync for conf_method_st

impl Unpin for conf_method_st

impl UnwindSafe for conf_method_st

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.