pub struct PPPProxy<'p>(/* private fields */);Implementations§
Source§impl PPPProxy<'_>
impl PPPProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<PPPProxy<'_>>
Source§impl<'p> PPPProxy<'p>
impl<'p> PPPProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<PPPProxy<'p>>
pub async fn new(conn: &Connection) -> Result<PPPProxy<'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 need_secrets(&self) -> Result<(String, String)>
pub async fn need_secrets(&self) -> Result<(String, String)>
NeedSecrets method
Sourcepub async fn set_ifindex(&self, ifindex: i32) -> Result<()>
pub async fn set_ifindex(&self, ifindex: i32) -> Result<()>
SetIfindex method
Sourcepub async fn set_ip4_config(
&self,
config: HashMap<&str, Value<'_>>,
) -> Result<()>
pub async fn set_ip4_config( &self, config: HashMap<&str, Value<'_>>, ) -> Result<()>
SetIp4Config method
Trait Implementations§
Source§impl<'a> Defaults for PPPProxy<'a>
impl<'a> Defaults for PPPProxy<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Auto Trait Implementations§
impl<'p> Freeze for PPPProxy<'p>
impl<'p> !RefUnwindSafe for PPPProxy<'p>
impl<'p> Send for PPPProxy<'p>
impl<'p> Sync for PPPProxy<'p>
impl<'p> Unpin for PPPProxy<'p>
impl<'p> !UnwindSafe for PPPProxy<'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