pub struct SecretAgentProxy<'p>(/* private fields */);Implementations§
Source§impl SecretAgentProxy<'_>
impl SecretAgentProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<SecretAgentProxy<'_>>
Source§impl<'p> SecretAgentProxy<'p>
impl<'p> SecretAgentProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<SecretAgentProxy<'p>>
pub async fn new(conn: &Connection) -> Result<SecretAgentProxy<'p>>
Creates a new proxy with the default service and path.
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 cancel_get_secrets(
&self,
connection_path: &ObjectPath<'_>,
setting_name: &str,
) -> Result<()>
pub async fn cancel_get_secrets( &self, connection_path: &ObjectPath<'_>, setting_name: &str, ) -> Result<()>
CancelGetSecrets method
Sourcepub async fn delete_secrets(
&self,
connection: HashMap<&str, HashMap<&str, Value<'_>>>,
connection_path: &ObjectPath<'_>,
) -> Result<()>
pub async fn delete_secrets( &self, connection: HashMap<&str, HashMap<&str, Value<'_>>>, connection_path: &ObjectPath<'_>, ) -> Result<()>
DeleteSecrets method
Sourcepub async fn get_secrets(
&self,
connection: HashMap<&str, HashMap<&str, Value<'_>>>,
connection_path: &ObjectPath<'_>,
setting_name: &str,
hints: &[&str],
flags: u32,
) -> Result<HashMap<String, HashMap<String, OwnedValue>>>
pub async fn get_secrets( &self, connection: HashMap<&str, HashMap<&str, Value<'_>>>, connection_path: &ObjectPath<'_>, setting_name: &str, hints: &[&str], flags: u32, ) -> Result<HashMap<String, HashMap<String, OwnedValue>>>
GetSecrets method
Sourcepub async fn save_secrets(
&self,
connection: HashMap<&str, HashMap<&str, Value<'_>>>,
connection_path: &ObjectPath<'_>,
) -> Result<()>
pub async fn save_secrets( &self, connection: HashMap<&str, HashMap<&str, Value<'_>>>, connection_path: &ObjectPath<'_>, ) -> Result<()>
SaveSecrets method
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for SecretAgentProxy<'p>
impl<'p> AsMut<Proxy<'p>> for SecretAgentProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for SecretAgentProxy<'p>
impl<'p> AsRef<Proxy<'p>> for SecretAgentProxy<'p>
Source§impl<'p> Clone for SecretAgentProxy<'p>
impl<'p> Clone for SecretAgentProxy<'p>
Source§fn clone(&self) -> SecretAgentProxy<'p>
fn clone(&self) -> SecretAgentProxy<'p>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'p> Debug for SecretAgentProxy<'p>
impl<'p> Debug for SecretAgentProxy<'p>
Source§impl<'a> Defaults for SecretAgentProxy<'a>
impl<'a> Defaults for SecretAgentProxy<'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 SecretAgentProxy<'p>
impl<'p> From<Proxy<'p>> for SecretAgentProxy<'p>
Source§impl<'p> ProxyImpl<'p> for SecretAgentProxy<'p>
impl<'p> ProxyImpl<'p> for SecretAgentProxy<'p>
Source§impl<'p> Serialize for SecretAgentProxy<'p>
impl<'p> Serialize for SecretAgentProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for SecretAgentProxy<'p>
impl<'p> !RefUnwindSafe for SecretAgentProxy<'p>
impl<'p> Send for SecretAgentProxy<'p>
impl<'p> Sync for SecretAgentProxy<'p>
impl<'p> Unpin for SecretAgentProxy<'p>
impl<'p> !UnwindSafe for SecretAgentProxy<'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