[−][src]Struct sudo_plugin_sys::io_plugin
Fields
type_: c_uint
version: c_uint
open: Option<unsafe extern "C" fn(version: c_uint, conversation: sudo_conv_t, sudo_printf: sudo_printf_t, settings: *const *mut c_char, user_info: *const *mut c_char, command_info: *const *mut c_char, argc: c_int, argv: *const *mut c_char, user_env: *const *mut c_char, plugin_plugins: *const *mut c_char) -> c_int>
close: Option<unsafe extern "C" fn(exit_status: c_int, error: c_int)>
show_version: Option<unsafe extern "C" fn(verbose: c_int) -> c_int>
log_ttyin: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>
log_ttyout: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>
log_stdin: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>
log_stdout: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>
log_stderr: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>
register_hooks: Option<unsafe extern "C" fn(version: c_int, register_hook: Option<unsafe extern "C" fn(hook: *mut sudo_hook) -> c_int>)>
deregister_hooks: Option<unsafe extern "C" fn(version: c_int, deregister_hook: Option<unsafe extern "C" fn(hook: *mut sudo_hook) -> c_int>)>
change_winsize: Option<unsafe extern "C" fn(rows: c_uint, cols: c_uint) -> c_int>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for io_plugin
impl Send for io_plugin
impl Sync for io_plugin
impl Unpin for io_plugin
impl UnwindSafe for io_plugin
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>,