Struct ashpd::desktop::SessionProxy
source · [−]pub struct SessionProxy<'a>(_);
Expand description
The Session interface is shared by all portal interfaces that involve long lived sessions. When a method that creates a session is called, if successful, the reply will include a session handle (i.e. object path) for a Session object, which will stay alive for the duration of the session.
The duration of the session is defined by the interface that creates it.
For convenience, the interface contains a method SessionProxy::close
,
and a signal SessionProxy::receive_closed
. Whether it is allowed to
directly call SessionProxy::close
depends on the interface.
Wrapper of the DBus interface: org.freedesktop.portal.Session
.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SessionProxy<'a>
impl<'a> Send for SessionProxy<'a>
impl<'a> Sync for SessionProxy<'a>
impl<'a> Unpin for SessionProxy<'a>
impl<'a> !UnwindSafe for SessionProxy<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> DynamicType for T where
T: Type + ?Sized,
impl<T> DynamicType for T where
T: Type + ?Sized,
pub fn dynamic_signature(&self) -> Signature<'_>
pub fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more