Struct rusty_network_manager::OvsBridgeProxy
source · pub struct OvsBridgeProxy<'p>(/* private fields */);Implementations§
source§impl OvsBridgeProxy<'_>
impl OvsBridgeProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection ) -> Result<OvsBridgeProxy<'_>>
source§impl<'p> OvsBridgeProxy<'p>
impl<'p> OvsBridgeProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<OvsBridgeProxy<'p>>
pub async fn new(conn: &Connection) -> Result<OvsBridgeProxy<'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 slaves(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn slaves(&self) -> Result<Vec<OwnedObjectPath>>
Slaves property
sourcepub fn cached_slaves(
&self
) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
pub fn cached_slaves( &self ) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
Get the cached value of the Slaves property, or None if the property is not cached.
sourcepub async fn receive_slaves_changed(
&self
) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
pub async fn receive_slaves_changed( &self ) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
Create a stream for the Slaves property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for OvsBridgeProxy<'p>
impl<'p> AsMut<Proxy<'p>> for OvsBridgeProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for OvsBridgeProxy<'p>
impl<'p> AsRef<Proxy<'p>> for OvsBridgeProxy<'p>
source§impl<'p> Clone for OvsBridgeProxy<'p>
impl<'p> Clone for OvsBridgeProxy<'p>
source§fn clone(&self) -> OvsBridgeProxy<'p>
fn clone(&self) -> OvsBridgeProxy<'p>
Returns a copy 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 OvsBridgeProxy<'p>
impl<'p> Debug for OvsBridgeProxy<'p>
source§impl<'p> From<Proxy<'p>> for OvsBridgeProxy<'p>
impl<'p> From<Proxy<'p>> for OvsBridgeProxy<'p>
source§impl<'a> ProxyDefault for OvsBridgeProxy<'a>
impl<'a> ProxyDefault for OvsBridgeProxy<'a>
source§impl<'p> ProxyImpl<'p> for OvsBridgeProxy<'p>
impl<'p> ProxyImpl<'p> for OvsBridgeProxy<'p>
source§impl<'p> Serialize for OvsBridgeProxy<'p>
impl<'p> Serialize for OvsBridgeProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for OvsBridgeProxy<'p>
impl<'p> !RefUnwindSafe for OvsBridgeProxy<'p>
impl<'p> Send for OvsBridgeProxy<'p>
impl<'p> Sync for OvsBridgeProxy<'p>
impl<'p> Unpin for OvsBridgeProxy<'p>
impl<'p> !UnwindSafe for OvsBridgeProxy<'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> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more