pub enum TestControllerRequest {
CreateFullmac {
bridge_client: ClientEnd<WlanFullmacImpl_Marker>,
responder: TestControllerCreateFullmacResponder,
},
DeleteFullmac {
id: u32,
responder: TestControllerDeleteFullmacResponder,
},
}
Variants§
CreateFullmac
Create and bind Fullmac driver that forwards all incoming calls to the |bridge_client|. The Fullmac driver will also create an instance of SME on binding.
The user should expect to receive a call to WlanFullmacImpl::Start shortly after calling this.
Returns an |id| that uniquely identifies the new instance of the Fullmac driver, which can be used to delete the driver instance later.
Fields
§
bridge_client: ClientEnd<WlanFullmacImpl_Marker>
§
responder: TestControllerCreateFullmacResponder
DeleteFullmac
Deletes the Fullmac driver with the given |id|.
Implementations§
Source§impl TestControllerRequest
impl TestControllerRequest
pub fn into_create_fullmac( self, ) -> Option<(ClientEnd<WlanFullmacImpl_Marker>, TestControllerCreateFullmacResponder)>
pub fn into_delete_fullmac( self, ) -> Option<(u32, TestControllerDeleteFullmacResponder)>
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 TestControllerRequest
impl !RefUnwindSafe for TestControllerRequest
impl Send for TestControllerRequest
impl Sync for TestControllerRequest
impl Unpin for TestControllerRequest
impl !UnwindSafe for TestControllerRequest
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