pub enum WlantapCtlRequest {
CreatePhy {
config: WlantapPhyConfig,
proxy: ServerEnd<WlantapPhyMarker>,
responder: WlantapCtlCreatePhyResponder,
},
}
Expand description
Instruct the wlantap-ctl device to creates a fake wlantap-phy device based on the
WlantapPhyConfig
passed in. The newly created wlantap-phy device will use the channel to
allow a WlantapPhy
client to observe and control its behavior.
Variants§
CreatePhy
Fields
§
config: WlantapPhyConfig
§
proxy: ServerEnd<WlantapPhyMarker>
§
responder: WlantapCtlCreatePhyResponder
Implementations§
Source§impl WlantapCtlRequest
impl WlantapCtlRequest
pub fn into_create_phy( self, ) -> Option<(WlantapPhyConfig, ServerEnd<WlantapPhyMarker>, WlantapCtlCreatePhyResponder)>
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 WlantapCtlRequest
impl !RefUnwindSafe for WlantapCtlRequest
impl Send for WlantapCtlRequest
impl Sync for WlantapCtlRequest
impl Unpin for WlantapCtlRequest
impl !UnwindSafe for WlantapCtlRequest
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