pub enum UsbRequest {
SetCallback {
callback: ClientEnd<CallbackMarker>,
responder: UsbSetCallbackResponder,
},
}
Variants§
SetCallback
Implementations§
Source§impl UsbRequest
impl UsbRequest
pub fn into_set_callback( self, ) -> Option<(ClientEnd<CallbackMarker>, UsbSetCallbackResponder)>
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 UsbRequest
impl !RefUnwindSafe for UsbRequest
impl Send for UsbRequest
impl Sync for UsbRequest
impl Unpin for UsbRequest
impl !UnwindSafe for UsbRequest
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