pub enum RegisterRequest {
RegisterDevice {
name: String,
driver: ClientEnd<DriverMarker>,
control_handle: RegisterControlHandle,
},
}
Expand description
Protocol for registering LoWPAN interfaces and their associated control protocols with the LoWPAN service.
Variants§
RegisterDevice
Registers the given LoWPAN device with the LoWPAN Service using the given interface name.
Implementations§
source§impl RegisterRequest
impl RegisterRequest
pub fn into_register_device( self ) -> Option<(String, ClientEnd<DriverMarker>, RegisterControlHandle)>
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 RegisterRequest
impl !RefUnwindSafe for RegisterRequest
impl Send for RegisterRequest
impl Sync for RegisterRequest
impl Unpin for RegisterRequest
impl !UnwindSafe for RegisterRequest
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