Struct fidl_fuchsia_wlan_wlanix::WifiChipProxy
source · pub struct WifiChipProxy { /* private fields */ }
Implementations§
source§impl WifiChipProxy
impl WifiChipProxy
sourcepub fn take_event_stream(&self) -> WifiChipEventStream
pub fn take_event_stream(&self) -> WifiChipEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
sourcepub fn create_sta_iface(
&self,
payload: WifiChipCreateStaIfaceRequest
) -> QueryResponseFut<WifiChipCreateStaIfaceResult>
pub fn create_sta_iface( &self, payload: WifiChipCreateStaIfaceRequest ) -> QueryResponseFut<WifiChipCreateStaIfaceResult>
Request the chip to create a STA iface.
sourcepub fn get_sta_iface_names(
&self
) -> QueryResponseFut<WifiChipGetStaIfaceNamesResponse>
pub fn get_sta_iface_names( &self ) -> QueryResponseFut<WifiChipGetStaIfaceNamesResponse>
Get the names of all active ifaces.
sourcepub fn get_sta_iface(
&self,
payload: WifiChipGetStaIfaceRequest
) -> QueryResponseFut<WifiChipGetStaIfaceResult>
pub fn get_sta_iface( &self, payload: WifiChipGetStaIfaceRequest ) -> QueryResponseFut<WifiChipGetStaIfaceResult>
Request a new connection to an existing iface.
sourcepub fn remove_sta_iface(
&self,
payload: WifiChipRemoveStaIfaceRequest
) -> QueryResponseFut<WifiChipRemoveStaIfaceResult>
pub fn remove_sta_iface( &self, payload: WifiChipRemoveStaIfaceRequest ) -> QueryResponseFut<WifiChipRemoveStaIfaceResult>
Request the destruction of a STA iface on the chip.
sourcepub fn get_available_modes(
&self
) -> QueryResponseFut<WifiChipGetAvailableModesResponse>
pub fn get_available_modes( &self ) -> QueryResponseFut<WifiChipGetAvailableModesResponse>
Get a set of operation modes that the chip supports. This combination encodes what iface types and how many can be created, and which ones can run concurrently.
sourcepub fn get_id(&self) -> QueryResponseFut<WifiChipGetIdResponse>
pub fn get_id(&self) -> QueryResponseFut<WifiChipGetIdResponse>
Get the ID of the current chip.
sourcepub fn get_mode(&self) -> QueryResponseFut<WifiChipGetModeResponse>
pub fn get_mode(&self) -> QueryResponseFut<WifiChipGetModeResponse>
Get the current mode that the chip is in.
sourcepub fn get_capabilities(
&self
) -> QueryResponseFut<WifiChipGetCapabilitiesResponse>
pub fn get_capabilities( &self ) -> QueryResponseFut<WifiChipGetCapabilitiesResponse>
Get capabilities supported by this chip.
Trait Implementations§
source§impl Clone for WifiChipProxy
impl Clone for WifiChipProxy
source§fn clone(&self) -> WifiChipProxy
fn clone(&self) -> WifiChipProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WifiChipProxy
impl Debug for WifiChipProxy
source§impl Proxy for WifiChipProxy
impl Proxy for WifiChipProxy
§type Protocol = WifiChipMarker
type Protocol = WifiChipMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Attempt to convert the proxy back into a client end. Read more
source§impl WifiChipProxyInterface for WifiChipProxy
impl WifiChipProxyInterface for WifiChipProxy
type CreateStaIfaceResponseFut = QueryResponseFut<Result<(), i32>>
fn create_sta_iface( &self, payload: WifiChipCreateStaIfaceRequest ) -> Self::CreateStaIfaceResponseFut
type GetStaIfaceNamesResponseFut = QueryResponseFut<WifiChipGetStaIfaceNamesResponse>
fn get_sta_iface_names(&self) -> Self::GetStaIfaceNamesResponseFut
type GetStaIfaceResponseFut = QueryResponseFut<Result<(), i32>>
fn get_sta_iface( &self, payload: WifiChipGetStaIfaceRequest ) -> Self::GetStaIfaceResponseFut
type RemoveStaIfaceResponseFut = QueryResponseFut<Result<(), i32>>
fn remove_sta_iface( &self, payload: WifiChipRemoveStaIfaceRequest ) -> Self::RemoveStaIfaceResponseFut
type GetAvailableModesResponseFut = QueryResponseFut<WifiChipGetAvailableModesResponse>
fn get_available_modes(&self) -> Self::GetAvailableModesResponseFut
type GetIdResponseFut = QueryResponseFut<WifiChipGetIdResponse>
fn get_id(&self) -> Self::GetIdResponseFut
type GetModeResponseFut = QueryResponseFut<WifiChipGetModeResponse>
fn get_mode(&self) -> Self::GetModeResponseFut
type GetCapabilitiesResponseFut = QueryResponseFut<WifiChipGetCapabilitiesResponse>
fn get_capabilities(&self) -> Self::GetCapabilitiesResponseFut
Auto Trait Implementations§
impl Freeze for WifiChipProxy
impl !RefUnwindSafe for WifiChipProxy
impl Send for WifiChipProxy
impl Sync for WifiChipProxy
impl Unpin for WifiChipProxy
impl !UnwindSafe for WifiChipProxy
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