pub enum ControllerRequest {
OpenSession {
session: ServerEnd<DeviceMarker>,
control_handle: ControllerControlHandle,
},
}Variants§
OpenSession
Opens a new session on the device.
Implementations§
Source§impl ControllerRequest
impl ControllerRequest
pub fn into_open_session( self, ) -> Option<(ServerEnd<DeviceMarker>, ControllerControlHandle)>
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 !RefUnwindSafe for ControllerRequest
impl !UnwindSafe for ControllerRequest
impl Freeze for ControllerRequest
impl Send for ControllerRequest
impl Sync for ControllerRequest
impl Unpin for ControllerRequest
impl UnsafeUnpin for ControllerRequest
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