Struct systemctl_tui::systemd::ServiceProxy
source · pub struct ServiceProxy<'p>(/* private fields */);Expand description
Proxy object for org.freedesktop.systemd1.Service.
Taken from https://github.com/lucab/zbus_systemd/blob/main/src/systemd1/generated.rs
Implementations§
source§impl<'p> ServiceProxy<'p>
impl<'p> ServiceProxy<'p>
sourcepub async fn new<P>(conn: &Connection, path: P) -> Result<ServiceProxy<'p>>
pub async fn new<P>(conn: &Connection, path: P) -> Result<ServiceProxy<'p>>
Creates a new proxy with the given path, and the default destination.
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.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for ServiceProxy<'p>
impl<'p> AsMut<Proxy<'p>> for ServiceProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for ServiceProxy<'p>
impl<'p> AsRef<Proxy<'p>> for ServiceProxy<'p>
source§impl<'p> Clone for ServiceProxy<'p>
impl<'p> Clone for ServiceProxy<'p>
source§fn clone(&self) -> ServiceProxy<'p>
fn clone(&self) -> ServiceProxy<'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 ServiceProxy<'p>
impl<'p> Debug for ServiceProxy<'p>
source§impl<'p> From<Proxy<'p>> for ServiceProxy<'p>
impl<'p> From<Proxy<'p>> for ServiceProxy<'p>
source§impl<'a> ProxyDefault for ServiceProxy<'a>
impl<'a> ProxyDefault for ServiceProxy<'a>
source§impl<'p> ProxyImpl<'p> for ServiceProxy<'p>
impl<'p> ProxyImpl<'p> for ServiceProxy<'p>
source§impl<'p> Serialize for ServiceProxy<'p>
impl<'p> Serialize for ServiceProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for ServiceProxy<'p>
impl<'p> !RefUnwindSafe for ServiceProxy<'p>
impl<'p> Send for ServiceProxy<'p>
impl<'p> Sync for ServiceProxy<'p>
impl<'p> Unpin for ServiceProxy<'p>
impl<'p> !UnwindSafe for ServiceProxy<'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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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