Trait gio::prelude::TlsPasswordExt [−][src]
pub trait TlsPasswordExt: 'static {
fn description(&self) -> GString;
fn flags(&self) -> TlsPasswordFlags;
fn warning(&self) -> GString;
fn set_description(&self, description: &str);
fn set_flags(&self, flags: TlsPasswordFlags);
fn set_warning(&self, warning: &str);
fn connect_description_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_flags_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_warning_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Expand description
Required methods
fn description(&self) -> GString
fn description(&self) -> GStringGet a description string about what the password will be used for.
Returns
The description of the password.
fn flags(&self) -> TlsPasswordFlags
fn flags(&self) -> TlsPasswordFlagsfn set_description(&self, description: &str)
fn set_description(&self, description: &str)Set a description string about what the password will be used for.
description
The description of the password
fn set_flags(&self, flags: TlsPasswordFlags)
fn set_flags(&self, flags: TlsPasswordFlags)fn set_warning(&self, warning: &str)
fn set_warning(&self, warning: &str)fn connect_description_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerIdfn connect_flags_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerIdfn connect_warning_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId