pub struct OvsPortProxy<'p>(/* private fields */);Implementations§
Source§impl OvsPortProxy<'_>
impl OvsPortProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<OvsPortProxy<'_>>
Source§impl<'p> OvsPortProxy<'p>
impl<'p> OvsPortProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<OvsPortProxy<'p>>
pub async fn new(conn: &Connection) -> Result<OvsPortProxy<'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>
Slaves property
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>
Slaves property
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 OvsPortProxy<'p>
impl<'p> AsMut<Proxy<'p>> for OvsPortProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for OvsPortProxy<'p>
impl<'p> AsRef<Proxy<'p>> for OvsPortProxy<'p>
Source§impl<'p> Clone for OvsPortProxy<'p>
impl<'p> Clone for OvsPortProxy<'p>
Source§fn clone(&self) -> OvsPortProxy<'p>
fn clone(&self) -> OvsPortProxy<'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 OvsPortProxy<'p>
impl<'p> Debug for OvsPortProxy<'p>
Source§impl<'a> Defaults for OvsPortProxy<'a>
impl<'a> Defaults for OvsPortProxy<'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 OvsPortProxy<'p>
impl<'p> From<Proxy<'p>> for OvsPortProxy<'p>
Source§impl<'p> ProxyImpl<'p> for OvsPortProxy<'p>
impl<'p> ProxyImpl<'p> for OvsPortProxy<'p>
Source§impl<'p> Serialize for OvsPortProxy<'p>
impl<'p> Serialize for OvsPortProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for OvsPortProxy<'p>
impl<'p> !RefUnwindSafe for OvsPortProxy<'p>
impl<'p> Send for OvsPortProxy<'p>
impl<'p> Sync for OvsPortProxy<'p>
impl<'p> Unpin for OvsPortProxy<'p>
impl<'p> !UnwindSafe for OvsPortProxy<'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