pub enum SessionManagerRequest {
CreateSession {
session: ServerEnd<DeviceMarker>,
control_handle: SessionManagerControlHandle,
},
HasPrimaryConnected {
responder: SessionManagerHasPrimaryConnectedResponder,
},
}
Expand description
Manages virtual console sessions.
Variants§
CreateSession
Create a new virtual console session.
HasPrimaryConnected
Returns true if virtcon currently has a display that it can display something on.
Fields
§
responder: SessionManagerHasPrimaryConnectedResponder
Implementations§
Source§impl SessionManagerRequest
impl SessionManagerRequest
pub fn into_create_session( self, ) -> Option<(ServerEnd<DeviceMarker>, SessionManagerControlHandle)>
pub fn into_has_primary_connected( self, ) -> Option<SessionManagerHasPrimaryConnectedResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionManagerRequest
impl !RefUnwindSafe for SessionManagerRequest
impl Send for SessionManagerRequest
impl Sync for SessionManagerRequest
impl Unpin for SessionManagerRequest
impl !UnwindSafe for SessionManagerRequest
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