pub struct Network<'a> { /* private fields */ }
Trait Implementations§
source§impl Append for Network<'_>
impl Append for Network<'_>
source§fn append_by_ref(&self, __i: &mut IterAppend<'_>)
fn append_by_ref(&self, __i: &mut IterAppend<'_>)
Performs the append operation by borrowing self.
source§fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
Performs the append operation by consuming self.
source§impl<'a> DbusObject<'a> for Network<'a>
impl<'a> DbusObject<'a> for Network<'a>
fn new( connection: impl Into<MaybeOwned<'a, Connection>>, destination: impl Into<BusName<'a>>, path: impl Into<Path<'a>>, timeout: Duration, ) -> Self
fn connection(this: &Self) -> &Connection
fn destination(this: &Self) -> &BusName<'a>
fn path(this: &Self) -> &Path<'a>
fn timeout(this: &Self) -> Duration
fn sub_object<T>(this: &'a Self, path: impl Into<Path<'a>>) -> Twhere
T: DbusObject<'a>,
fn method_call<'b, R>(
&'a self,
interface: impl Into<Interface<'b>>,
member: impl Into<Member<'b>>,
args: impl AppendAll,
) -> Result<R, Error>where
R: ReadAll,
source§impl Properties for Network<'_>
impl Properties for Network<'_>
fn get<R0: for<'b> Get<'b> + 'static>( &self, interface_name: &str, property_name: &str, ) -> Result<R0, Error>
fn get_all(&self, interface_name: &str) -> Result<PropMap, Error>
fn set<I2: Arg + Append>( &self, interface_name: &str, property_name: &str, value: I2, ) -> Result<(), Error>
Auto Trait Implementations§
impl<'a> !Freeze for Network<'a>
impl<'a> !RefUnwindSafe for Network<'a>
impl<'a> !Send for Network<'a>
impl<'a> !Sync for Network<'a>
impl<'a> Unpin for Network<'a>
impl<'a> !UnwindSafe for Network<'a>
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