struct LoginManagerProxy<'p>(Proxy<'p>);Tuple Fields§
§0: Proxy<'p>Implementations§
Source§impl<'p> LoginManagerProxy<'p>
impl<'p> LoginManagerProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<LoginManagerProxy<'p>>
pub async fn new(conn: &Connection) -> Result<LoginManagerProxy<'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.
pub async fn get_session_by_pid(&self, pid: u32) -> Result<OwnedObjectPath>
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for LoginManagerProxy<'p>
impl<'p> AsMut<Proxy<'p>> for LoginManagerProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for LoginManagerProxy<'p>
impl<'p> AsRef<Proxy<'p>> for LoginManagerProxy<'p>
Source§impl<'p> Clone for LoginManagerProxy<'p>
impl<'p> Clone for LoginManagerProxy<'p>
Source§fn clone(&self) -> LoginManagerProxy<'p>
fn clone(&self) -> LoginManagerProxy<'p>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoginManagerProxy<'p>
impl<'p> Debug for LoginManagerProxy<'p>
Source§impl<'a> Defaults for LoginManagerProxy<'a>
impl<'a> Defaults for LoginManagerProxy<'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 LoginManagerProxy<'p>
impl<'p> From<Proxy<'p>> for LoginManagerProxy<'p>
Source§impl<'p> ProxyImpl<'p> for LoginManagerProxy<'p>
impl<'p> ProxyImpl<'p> for LoginManagerProxy<'p>
Source§impl<'p> Serialize for LoginManagerProxy<'p>
impl<'p> Serialize for LoginManagerProxy<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for LoginManagerProxy<'p>
impl<'p> !UnwindSafe for LoginManagerProxy<'p>
impl<'p> Freeze for LoginManagerProxy<'p>
impl<'p> Send for LoginManagerProxy<'p>
impl<'p> Sync for LoginManagerProxy<'p>
impl<'p> Unpin for LoginManagerProxy<'p>
impl<'p> UnsafeUnpin for LoginManagerProxy<'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§impl<T> DynamicType for T
impl<T> DynamicType for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more