Trait gio::MountOperationExt
[−]
[src]
pub trait MountOperationExt {
fn get_anonymous(&self) -> bool;
fn get_choice(&self) -> i32;
fn get_domain(&self) -> Option<String>;
fn get_password(&self) -> Option<String>;
fn get_password_save(&self) -> PasswordSave;
fn get_username(&self) -> Option<String>;
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_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
fn get_anonymous(&self) -> bool
fn get_choice(&self) -> i32
fn get_domain(&self) -> Option<String>
fn get_password(&self) -> Option<String>
fn get_password_save(&self) -> PasswordSave
fn get_username(&self) -> Option<String>
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
&self,
f: F
) -> SignalHandlerId
fn connect_reply<F: Fn(&Self, MountOperationResult) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_anonymous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_choice_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_domain_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_password_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_password_save_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_username_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<MountOperation> + IsA<Object>> MountOperationExt for O