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 Freeze for ControllerRequest
impl !RefUnwindSafe for ControllerRequest
impl Send for ControllerRequest
impl Sync for ControllerRequest
impl Unpin for ControllerRequest
impl !UnwindSafe 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