pub struct PasswordBasedProxy<'p>(/* private fields */);Expand description
Proxy interface for org.gnome.OnlineAccounts.PasswordBased.
Implementations§
Source§impl<'p> PasswordBasedProxy<'p>
impl<'p> PasswordBasedProxy<'p>
Sourcepub async fn new<P>(
conn: &Connection,
path: P,
) -> Result<PasswordBasedProxy<'p>>
pub async fn new<P>( conn: &Connection, path: P, ) -> Result<PasswordBasedProxy<'p>>
Creates a new proxy with the given path, and the default destination.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self, returning the underlying zbus::Proxy.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy.
Sourcepub async fn get_password(&self, id: &str) -> Result<String>
pub async fn get_password(&self, id: &str) -> Result<String>
Retrieves the stored password.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for PasswordBasedProxy<'p>
impl<'p> AsMut<Proxy<'p>> for PasswordBasedProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for PasswordBasedProxy<'p>
impl<'p> AsRef<Proxy<'p>> for PasswordBasedProxy<'p>
Source§impl<'p> Clone for PasswordBasedProxy<'p>
impl<'p> Clone for PasswordBasedProxy<'p>
Source§impl<'p> Debug for PasswordBasedProxy<'p>
impl<'p> Debug for PasswordBasedProxy<'p>
Source§impl<'a> Defaults for PasswordBasedProxy<'a>
impl<'a> Defaults for PasswordBasedProxy<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Source§impl<'p> From<Proxy<'p>> for PasswordBasedProxy<'p>
impl<'p> From<Proxy<'p>> for PasswordBasedProxy<'p>
Source§impl<'p> ProxyImpl<'p> for PasswordBasedProxy<'p>
impl<'p> ProxyImpl<'p> for PasswordBasedProxy<'p>
Source§impl<'p> Serialize for PasswordBasedProxy<'p>
impl<'p> Serialize for PasswordBasedProxy<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for PasswordBasedProxy<'p>
impl<'p> !UnwindSafe for PasswordBasedProxy<'p>
impl<'p> Freeze for PasswordBasedProxy<'p>
impl<'p> Send for PasswordBasedProxy<'p>
impl<'p> Sync for PasswordBasedProxy<'p>
impl<'p> Unpin for PasswordBasedProxy<'p>
impl<'p> UnsafeUnpin for PasswordBasedProxy<'p>
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