pub struct RemoteSession {
pub session_id: SessionId,
pub entity_id: EntityId,
/* private fields */
}Fields§
§session_id: SessionId§entity_id: EntityIdTrait Implementations§
Source§impl Drop for RemoteSession
impl Drop for RemoteSession
Source§impl PlayConnection for RemoteSession
impl PlayConnection for RemoteSession
fn session_id(&self) -> SessionId
fn entity_id(&self) -> EntityId
fn submit_intent<'life0, 'async_trait>(
&'life0 self,
intent: Intent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn try_next_event(&mut self) -> Option<SessionEvent>
fn next_event<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Option<SessionEvent>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn disconnect(&self)
Auto Trait Implementations§
impl Freeze for RemoteSession
impl RefUnwindSafe for RemoteSession
impl Send for RemoteSession
impl Sync for RemoteSession
impl Unpin for RemoteSession
impl UnsafeUnpin for RemoteSession
impl UnwindSafe for RemoteSession
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