[][src]Struct sudo_plugin_sys::sudoers_group_plugin

#[repr(C)]pub struct sudoers_group_plugin {
    pub version: c_uint,
    pub init: Option<unsafe extern "C" fn(version: c_int, sudo_printf: sudo_printf_t, argv: *const *mut c_char) -> c_int>,
    pub cleanup: Option<unsafe extern "C" fn()>,
    pub query: Option<unsafe extern "C" fn(user: *const c_char, group: *const c_char, pwd: *const passwd) -> c_int>,
}

Fields

version: c_uintinit: Option<unsafe extern "C" fn(version: c_int, sudo_printf: sudo_printf_t, argv: *const *mut c_char) -> c_int>cleanup: Option<unsafe extern "C" fn()>query: Option<unsafe extern "C" fn(user: *const c_char, group: *const c_char, pwd: *const passwd) -> c_int>

Trait Implementations

impl Clone for sudoers_group_plugin[src]

impl Copy for sudoers_group_plugin[src]

impl Debug for sudoers_group_plugin[src]

Auto Trait Implementations

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.