Trait MountOperationExt

Source
pub trait MountOperationExt: 'static {
Show 23 methods // Required methods fn get_anonymous(&self) -> bool; fn get_choice(&self) -> i32; fn get_domain(&self) -> Option<GString>; fn get_password(&self) -> Option<GString>; fn get_password_save(&self) -> PasswordSave; fn get_username(&self) -> Option<GString>; fn reply(&self, result: MountOperationResult); fn set_anonymous(&self, anonymous: bool); fn set_choice(&self, choice: i32); fn set_domain(&self, domain: &str); fn set_password(&self, password: &str); fn set_password_save(&self, save: PasswordSave); fn set_username(&self, username: &str); fn connect_aborted<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_ask_password<F: Fn(&Self, &str, &str, &str, AskPasswordFlags) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_reply<F: Fn(&Self, MountOperationResult) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_show_unmount_progress<F: Fn(&Self, &str, i64, i64) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_anonymous_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_choice_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_domain_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_password_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_password_save_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_username_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_anonymous(&self) -> bool

Source

fn get_choice(&self) -> i32

Source

fn get_domain(&self) -> Option<GString>

Source

fn get_password(&self) -> Option<GString>

Source

fn get_password_save(&self) -> PasswordSave

Source

fn get_username(&self) -> Option<GString>

Source

fn reply(&self, result: MountOperationResult)

Source

fn set_anonymous(&self, anonymous: bool)

Source

fn set_choice(&self, choice: i32)

Source

fn set_domain(&self, domain: &str)

Source

fn set_password(&self, password: &str)

Source

fn set_password_save(&self, save: PasswordSave)

Source

fn set_username(&self, username: &str)

Source

fn connect_aborted<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_ask_password<F: Fn(&Self, &str, &str, &str, AskPasswordFlags) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_reply<F: Fn(&Self, MountOperationResult) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_show_unmount_progress<F: Fn(&Self, &str, i64, i64) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_anonymous_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_choice_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_domain_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_password_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_password_save_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_username_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§