Type Alias GMountOperationClass

Source
pub type GMountOperationClass = _GMountOperationClass;
Expand description

GMountOperation:

Class for providing authentication methods for mounting operations, such as mounting a file locally, or authenticating with a server.

Aliased Type§

struct GMountOperationClass {
Show 16 fields pub parent_class: _GObjectClass, pub ask_password: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *const i8, *const i8, u32)>, pub ask_question: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut *const i8)>, pub reply: Option<unsafe extern "C" fn(*mut _GMountOperation, u32)>, pub aborted: Option<unsafe extern "C" fn(*mut _GMountOperation)>, pub show_processes: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut _GArray, *mut *const i8)>, pub show_unmount_progress: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, i64, i64)>, pub _g_reserved1: Option<unsafe extern "C" fn()>, pub _g_reserved2: Option<unsafe extern "C" fn()>, pub _g_reserved3: Option<unsafe extern "C" fn()>, pub _g_reserved4: Option<unsafe extern "C" fn()>, pub _g_reserved5: Option<unsafe extern "C" fn()>, pub _g_reserved6: Option<unsafe extern "C" fn()>, pub _g_reserved7: Option<unsafe extern "C" fn()>, pub _g_reserved8: Option<unsafe extern "C" fn()>, pub _g_reserved9: Option<unsafe extern "C" fn()>,
}

Fields§

§parent_class: _GObjectClass§ask_password: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *const i8, *const i8, u32)>§ask_question: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut *const i8)>

GMountOperationClass::ask_question: @op: a #GMountOperation @message: string containing a message to display to the user @choices: (array zero-terminated=1) (element-type utf8): an array of strings for each possible choice

Virtual implementation of #GMountOperation::ask-question.

§reply: Option<unsafe extern "C" fn(*mut _GMountOperation, u32)>§aborted: Option<unsafe extern "C" fn(*mut _GMountOperation)>§show_processes: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut _GArray, *mut *const i8)>

GMountOperationClass::show_processes: @op: a #GMountOperation @message: string containing a message to display to the user @processes: (element-type GPid): an array of #GPid for processes blocking the operation @choices: (array zero-terminated=1) (element-type utf8): an array of strings for each possible choice

Virtual implementation of #GMountOperation::show-processes.

Since: 2.22

§show_unmount_progress: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, i64, i64)>§_g_reserved1: Option<unsafe extern "C" fn()>§_g_reserved2: Option<unsafe extern "C" fn()>§_g_reserved3: Option<unsafe extern "C" fn()>§_g_reserved4: Option<unsafe extern "C" fn()>§_g_reserved5: Option<unsafe extern "C" fn()>§_g_reserved6: Option<unsafe extern "C" fn()>§_g_reserved7: Option<unsafe extern "C" fn()>§_g_reserved8: Option<unsafe extern "C" fn()>§_g_reserved9: Option<unsafe extern "C" fn()>

Trait Implementations

Source§

impl Clone for _GMountOperationClass

Source§

fn clone(&self) -> _GMountOperationClass

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GMountOperationClass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GMountOperationClass

Source§

fn eq(&self, other: &_GMountOperationClass) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GMountOperationClass

Source§

impl Eq for _GMountOperationClass

Source§

impl StructuralPartialEq for _GMountOperationClass