pub enum FactoryLookupRequest {
Lookup {
name: String,
device_factory: ServerEnd<FactoryDeviceMarker>,
control_handle: FactoryLookupControlHandle,
},
}
Expand description
Protocol for looking up the LoWPAN factory protocol for a LoWPAN interface.
This protocol is implemented by the LoWPAN service and used by client tools that need to issue factory commands.
Variants§
Lookup
Connects the the associated FactoryDevice
API for the given LoWPAN interface name.
Implementations§
Source§impl FactoryLookupRequest
impl FactoryLookupRequest
pub fn into_lookup( self, ) -> Option<(String, ServerEnd<FactoryDeviceMarker>, FactoryLookupControlHandle)>
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 FactoryLookupRequest
impl !RefUnwindSafe for FactoryLookupRequest
impl Send for FactoryLookupRequest
impl Sync for FactoryLookupRequest
impl Unpin for FactoryLookupRequest
impl !UnwindSafe for FactoryLookupRequest
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