pub enum ControllerRequest {
OpenSession {
session: ServerEnd<DeviceMarker>,
control_handle: ControllerControlHandle,
},
}Variants§
OpenSession
Opens a new session on the device.
At most one session is permitted at one time; the server end will be
closed with ZX_ERR_ALREADY_BOUND if a session already exists.
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