pub enum FactoryDriverRequest {
GetFactoryDevice {
device_factory: ServerEnd<FactoryDeviceMarker>,
control_handle: FactoryDriverControlHandle,
},
}
Expand description
Protocol representing a LoWPAN driver instance that can serve FactoryDevice
instances.
Not to be confused with FactoryDevice
.
This protocol is implemented by LoWPAN drivers and used by the LoWPAN service when
handling calls to FactoryLookup.Lookup()
. It is registered with the service via
a call to FactoryRegister.Register()
.
Variants§
GetFactoryDevice
Used to obtain a FactoryDevice
protocol instance.
Implementations§
Source§impl FactoryDriverRequest
impl FactoryDriverRequest
pub fn into_get_factory_device( self, ) -> Option<(ServerEnd<FactoryDeviceMarker>, FactoryDriverControlHandle)>
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 FactoryDriverRequest
impl !RefUnwindSafe for FactoryDriverRequest
impl Send for FactoryDriverRequest
impl Sync for FactoryDriverRequest
impl Unpin for FactoryDriverRequest
impl !UnwindSafe for FactoryDriverRequest
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