pub struct NetworkManagerSettingsConnectionProxy<'p>(/* private fields */);Expand description
Network Manager Settings Connection DBus interface
Implementations§
Source§impl<'p> NetworkManagerSettingsConnectionProxy<'p>
impl<'p> NetworkManagerSettingsConnectionProxy<'p>
Sourcepub async fn new<P>(
conn: &Connection,
path: P,
) -> Result<NetworkManagerSettingsConnectionProxy<'p>, Error>
pub async fn new<P>( conn: &Connection, path: P, ) -> Result<NetworkManagerSettingsConnectionProxy<'p>, Error>
Creates a new proxy with the given path, and the default destination.
Sourcepub fn builder(
conn: &Connection,
) -> Builder<'p, NetworkManagerSettingsConnectionProxy<'p>>
pub fn builder( conn: &Connection, ) -> Builder<'p, NetworkManagerSettingsConnectionProxy<'p>>
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_settings(
&self,
) -> Result<HashMap<String, HashMap<String, OwnedValue>>, Error>
pub async fn get_settings( &self, ) -> Result<HashMap<String, HashMap<String, OwnedValue>>, Error>
This is a nested dictionary…
It would be nice to have nested dictionaries, but it’s not supported, see https://github.com/z-galaxy/zbus/issues/312
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> AsMut<Proxy<'p>> for NetworkManagerSettingsConnectionProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> AsRef<Proxy<'p>> for NetworkManagerSettingsConnectionProxy<'p>
Source§impl<'p> Clone for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> Clone for NetworkManagerSettingsConnectionProxy<'p>
Source§fn clone(&self) -> NetworkManagerSettingsConnectionProxy<'p>
fn clone(&self) -> NetworkManagerSettingsConnectionProxy<'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 NetworkManagerSettingsConnectionProxy<'p>
impl<'p> Debug for NetworkManagerSettingsConnectionProxy<'p>
Source§impl<'a> Defaults for NetworkManagerSettingsConnectionProxy<'a>
impl<'a> Defaults for NetworkManagerSettingsConnectionProxy<'a>
Source§impl<'p> From<Proxy<'p>> for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> From<Proxy<'p>> for NetworkManagerSettingsConnectionProxy<'p>
Source§fn from(proxy: Proxy<'p>) -> NetworkManagerSettingsConnectionProxy<'p>
fn from(proxy: Proxy<'p>) -> NetworkManagerSettingsConnectionProxy<'p>
Converts to this type from the input type.
Source§impl<'p> ProxyImpl<'p> for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> ProxyImpl<'p> for NetworkManagerSettingsConnectionProxy<'p>
Source§fn builder(
conn: &Connection,
) -> Builder<'p, NetworkManagerSettingsConnectionProxy<'p>>
fn builder( conn: &Connection, ) -> Builder<'p, NetworkManagerSettingsConnectionProxy<'p>>
Return a customizable builder for this proxy.
Source§fn into_inner(self) -> Proxy<'p>
fn into_inner(self) -> Proxy<'p>
Consume
self, returning the underlying zbus::Proxy.Source§impl<'p> Serialize for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> Serialize for NetworkManagerSettingsConnectionProxy<'p>
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl<'p> Freeze for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> !RefUnwindSafe for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> Send for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> Sync for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> Unpin for NetworkManagerSettingsConnectionProxy<'p>
impl<'p> !UnwindSafe for NetworkManagerSettingsConnectionProxy<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more