#[repr(C)]pub struct NMVpnServicePluginClass {Show 14 fields
pub parent: GObjectClass,
pub state_changed: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, NMVpnServiceState)>,
pub ip4_config: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut GVariant)>,
pub login_banner: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *const c_char)>,
pub failure: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, NMVpnPluginFailure)>,
pub quit: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin)>,
pub config: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut GVariant)>,
pub ip6_config: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut GVariant)>,
pub connect: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut *mut GError) -> gboolean>,
pub need_secrets: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut *const c_char, *mut *mut GError) -> gboolean>,
pub disconnect: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut *mut GError) -> gboolean>,
pub new_secrets: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut *mut GError) -> gboolean>,
pub connect_interactive: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut GVariant, *mut *mut GError) -> gboolean>,
pub padding: [gpointer; 8],
}Fields§
§parent: GObjectClass§state_changed: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, NMVpnServiceState)>§ip4_config: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut GVariant)>§failure: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, NMVpnPluginFailure)>§quit: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin)>§config: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut GVariant)>§ip6_config: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut GVariant)>§connect: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut *mut GError) -> gboolean>§need_secrets: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut *const c_char, *mut *mut GError) -> gboolean>§disconnect: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut *mut GError) -> gboolean>§new_secrets: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut *mut GError) -> gboolean>§connect_interactive: Option<unsafe extern "C" fn(*mut NMVpnServicePlugin, *mut NMConnection, *mut GVariant, *mut *mut GError) -> gboolean>§padding: [gpointer; 8]Trait Implementations§
Source§impl Clone for NMVpnServicePluginClass
impl Clone for NMVpnServicePluginClass
Source§fn clone(&self) -> NMVpnServicePluginClass
fn clone(&self) -> NMVpnServicePluginClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NMVpnServicePluginClass
impl Debug for NMVpnServicePluginClass
impl Copy for NMVpnServicePluginClass
Auto Trait Implementations§
impl Freeze for NMVpnServicePluginClass
impl RefUnwindSafe for NMVpnServicePluginClass
impl !Send for NMVpnServicePluginClass
impl !Sync for NMVpnServicePluginClass
impl Unpin for NMVpnServicePluginClass
impl UnwindSafe for NMVpnServicePluginClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more