pub struct PasswordBasedProxyBlocking<'p>(/* private fields */);Expand description
Proxy interface for org.gnome.OnlineAccounts.PasswordBased.
Implementations§
Source§impl<'p> PasswordBasedProxyBlocking<'p>
impl<'p> PasswordBasedProxyBlocking<'p>
Sourcepub fn new<P>(
conn: &Connection,
path: P,
) -> Result<PasswordBasedProxyBlocking<'p>>
pub fn new<P>( conn: &Connection, path: P, ) -> Result<PasswordBasedProxyBlocking<'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 fn get_password(&self, id: &str) -> Result<String>
pub fn get_password(&self, id: &str) -> Result<String>
Retrieves the stored password.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for PasswordBasedProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for PasswordBasedProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for PasswordBasedProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for PasswordBasedProxyBlocking<'p>
Source§impl<'p> Clone for PasswordBasedProxyBlocking<'p>
impl<'p> Clone for PasswordBasedProxyBlocking<'p>
Source§impl<'p> Debug for PasswordBasedProxyBlocking<'p>
impl<'p> Debug for PasswordBasedProxyBlocking<'p>
Source§impl<'a> Defaults for PasswordBasedProxyBlocking<'a>
impl<'a> Defaults for PasswordBasedProxyBlocking<'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 PasswordBasedProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for PasswordBasedProxyBlocking<'p>
Source§impl<'p> ProxyImpl<'p> for PasswordBasedProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for PasswordBasedProxyBlocking<'p>
Source§impl<'p> Serialize for PasswordBasedProxyBlocking<'p>
impl<'p> Serialize for PasswordBasedProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for PasswordBasedProxyBlocking<'p>
impl<'p> !UnwindSafe for PasswordBasedProxyBlocking<'p>
impl<'p> Freeze for PasswordBasedProxyBlocking<'p>
impl<'p> Send for PasswordBasedProxyBlocking<'p>
impl<'p> Sync for PasswordBasedProxyBlocking<'p>
impl<'p> Unpin for PasswordBasedProxyBlocking<'p>
impl<'p> UnsafeUnpin for PasswordBasedProxyBlocking<'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