pub enum TestDeviceRequest {
LoadFirmware {
path: String,
responder: TestDeviceLoadFirmwareResponder,
},
}
Variants§
LoadFirmware
Call load_firmware and make sure it worked.
Implementations§
Source§impl TestDeviceRequest
impl TestDeviceRequest
pub fn into_load_firmware( self, ) -> Option<(String, TestDeviceLoadFirmwareResponder)>
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 TestDeviceRequest
impl !RefUnwindSafe for TestDeviceRequest
impl Send for TestDeviceRequest
impl Sync for TestDeviceRequest
impl Unpin for TestDeviceRequest
impl !UnwindSafe for TestDeviceRequest
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