pub enum DriverRequest {
GetProtocols {
protocols: Protocols,
control_handle: DriverControlHandle,
},
}
Expand description
Protocol representing a LoWPAN driver instance.
Variants§
GetProtocols
Request protocols to control this device. Unsupported protocols are closed.
Implementations§
Source§impl DriverRequest
impl DriverRequest
pub fn into_get_protocols(self) -> Option<(Protocols, DriverControlHandle)>
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 DriverRequest
impl !RefUnwindSafe for DriverRequest
impl Send for DriverRequest
impl Sync for DriverRequest
impl Unpin for DriverRequest
impl !UnwindSafe for DriverRequest
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