Trait gio::prelude::MountOperationExt
source · [−]pub trait MountOperationExt: 'static {
Show 32 methods
fn is_anonymous(&self) -> bool;
fn choice(&self) -> i32;
fn domain(&self) -> Option<GString>;
fn is_tcrypt_hidden_volume(&self) -> bool;
fn is_tcrypt_system_volume(&self) -> bool;
fn password(&self) -> Option<GString>;
fn password_save(&self) -> PasswordSave;
fn pim(&self) -> u32;
fn 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: Option<&str>);
fn set_is_tcrypt_hidden_volume(&self, hidden_volume: bool);
fn set_is_tcrypt_system_volume(&self, system_volume: bool);
fn set_password(&self, password: Option<&str>);
fn set_password_save(&self, save: PasswordSave);
fn set_pim(&self, pim: u32);
fn set_username(&self, username: Option<&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_anonymous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_choice_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_domain_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_is_tcrypt_hidden_volume_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_is_tcrypt_system_volume_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_password_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_password_save_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_pim_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_username_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn is_anonymous(&self) -> bool
Available on crate feature
v2_58
only.sourcefn is_tcrypt_system_volume(&self) -> bool
fn is_tcrypt_system_volume(&self) -> bool
Available on crate feature
v2_58
only.source
fn password_save(&self) -> PasswordSave
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: Option<&str>)
Available on crate feature
v2_58
only.sourcefn set_is_tcrypt_system_volume(&self, system_volume: bool)
fn set_is_tcrypt_system_volume(&self, system_volume: bool)
Available on crate feature
v2_58
only.source
fn set_password(&self, password: Option<&str>)
source
fn set_password_save(&self, save: PasswordSave)
source
fn set_username(&self, username: Option<&str>)
source
fn connect_aborted<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_ask_password<F: Fn(&Self, &str, &str, &str, AskPasswordFlags) + 'static>(
fn connect_ask_password<F: Fn(&Self, &str, &str, &str, AskPasswordFlags) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_reply<F: Fn(&Self, MountOperationResult) + 'static>(
fn connect_reply<F: Fn(&Self, MountOperationResult) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_show_unmount_progress<F: Fn(&Self, &str, i64, i64) + 'static>(
fn connect_show_unmount_progress<F: Fn(&Self, &str, i64, i64) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_anonymous_notify<F: Fn(&Self) + 'static>(
fn connect_anonymous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_choice_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_domain_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v2_58
only.sourcefn connect_is_tcrypt_system_volume_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_is_tcrypt_system_volume_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Available on crate feature
v2_58
only.sourcefn connect_password_notify<F: Fn(&Self) + 'static>(
fn connect_password_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_password_save_notify<F: Fn(&Self) + 'static>(
fn connect_password_save_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_pim_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_pim_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v2_58
only.sourcefn connect_username_notify<F: Fn(&Self) + 'static>(