Struct ashpd::desktop::SessionProxy [−][src]
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.
Implementations
Emitted when a session is closed.
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>