struct LoginSessionProxy<'p>(Proxy<'p>);Tuple Fields§
§0: Proxy<'p>Implementations§
Source§impl<'p> LoginSessionProxy<'p>
impl<'p> LoginSessionProxy<'p>
Sourcepub async fn new<D, P>(
conn: &Connection,
destination: D,
path: P,
) -> Result<LoginSessionProxy<'p>>
pub async fn new<D, P>( conn: &Connection, destination: D, path: P, ) -> Result<LoginSessionProxy<'p>>
Creates a new proxy with the given service destination 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 id(&self) -> Result<String>
Sourcepub fn cached_id(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_id( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Id property, or None if the property is not cached.
Sourcepub async fn receive_id_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_id_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Id property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for LoginSessionProxy<'p>
impl<'p> AsMut<Proxy<'p>> for LoginSessionProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for LoginSessionProxy<'p>
impl<'p> AsRef<Proxy<'p>> for LoginSessionProxy<'p>
Source§impl<'p> Clone for LoginSessionProxy<'p>
impl<'p> Clone for LoginSessionProxy<'p>
Source§fn clone(&self) -> LoginSessionProxy<'p>
fn clone(&self) -> LoginSessionProxy<'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 LoginSessionProxy<'p>
impl<'p> Debug for LoginSessionProxy<'p>
Source§impl<'a> Defaults for LoginSessionProxy<'a>
impl<'a> Defaults for LoginSessionProxy<'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 LoginSessionProxy<'p>
impl<'p> From<Proxy<'p>> for LoginSessionProxy<'p>
Source§impl<'p> ProxyImpl<'p> for LoginSessionProxy<'p>
impl<'p> ProxyImpl<'p> for LoginSessionProxy<'p>
Source§impl<'p> Serialize for LoginSessionProxy<'p>
impl<'p> Serialize for LoginSessionProxy<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for LoginSessionProxy<'p>
impl<'p> !UnwindSafe for LoginSessionProxy<'p>
impl<'p> Freeze for LoginSessionProxy<'p>
impl<'p> Send for LoginSessionProxy<'p>
impl<'p> Sync for LoginSessionProxy<'p>
impl<'p> Unpin for LoginSessionProxy<'p>
impl<'p> UnsafeUnpin for LoginSessionProxy<'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