Struct fidl_fuchsia_wlan_sme::GenericSmeProxy
source · pub struct GenericSmeProxy { /* private fields */ }
Implementations§
source§impl GenericSmeProxy
impl GenericSmeProxy
sourcepub fn take_event_stream(&self) -> GenericSmeEventStream
pub fn take_event_stream(&self) -> GenericSmeEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
sourcepub fn query(&self) -> QueryResponseFut<GenericSmeQuery>
pub fn query(&self) -> QueryResponseFut<GenericSmeQuery>
Query the underlying SME to determine basic properties. This should generally be called first to determine which SME protocol to request for the SME.
sourcepub fn get_client_sme(
&self,
sme_server: ServerEnd<ClientSmeMarker>
) -> QueryResponseFut<GenericSmeGetClientSmeResult>
pub fn get_client_sme( &self, sme_server: ServerEnd<ClientSmeMarker> ) -> QueryResponseFut<GenericSmeGetClientSmeResult>
Attempt to establish a new connection to an underlying Client SME. Connections may be established for the whole lifetime of the SME, but concurrent connections might lead to unexpected behavior. Likely errors include: * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
sourcepub fn get_ap_sme(
&self,
sme_server: ServerEnd<ApSmeMarker>
) -> QueryResponseFut<GenericSmeGetApSmeResult>
pub fn get_ap_sme( &self, sme_server: ServerEnd<ApSmeMarker> ) -> QueryResponseFut<GenericSmeGetApSmeResult>
Attempt to establish a new connection to an underlying AP SME. Connections may be established for the whole lifetime of the SME, but concurrent connections might lead to unexpected behavior. Likely errors include: * NOT_SUPPORTED: The underlying SME is not an AP SME. * PEER_CLOSED: The underlying SME is shutting down.
sourcepub fn get_sme_telemetry(
&self,
telemetry_server: ServerEnd<TelemetryMarker>
) -> QueryResponseFut<GenericSmeGetSmeTelemetryResult>
pub fn get_sme_telemetry( &self, telemetry_server: ServerEnd<TelemetryMarker> ) -> QueryResponseFut<GenericSmeGetSmeTelemetryResult>
Attempt to establish a new connection to telemetry information for the underlying SME. Connections may be established for the whole lifetime of the SME, and concurrent connections are safe since this is a read-only API. Likely errors include: * NOT_SUPPORTED: The underlying SME does not support telemetry. * PEER_CLOSED: The underlying SME is shutting down.
sourcepub fn get_feature_support(
&self,
feature_support_server: ServerEnd<FeatureSupportMarker>
) -> QueryResponseFut<GenericSmeGetFeatureSupportResult>
pub fn get_feature_support( &self, feature_support_server: ServerEnd<FeatureSupportMarker> ) -> QueryResponseFut<GenericSmeGetFeatureSupportResult>
Attempt to establish a new connection to feature support information for the underlying SME. Connections may be established for the whole lifetime of the SME, and concurrent connections are safe since this is a read-only API. Likely errors include: * PEER_CLOSED: The underlying SME is shutting down.
Trait Implementations§
source§impl Clone for GenericSmeProxy
impl Clone for GenericSmeProxy
source§fn clone(&self) -> GenericSmeProxy
fn clone(&self) -> GenericSmeProxy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GenericSmeProxy
impl Debug for GenericSmeProxy
source§impl GenericSmeProxyInterface for GenericSmeProxy
impl GenericSmeProxyInterface for GenericSmeProxy
type QueryResponseFut = QueryResponseFut<GenericSmeQuery>
fn query(&self) -> Self::QueryResponseFut
type GetClientSmeResponseFut = QueryResponseFut<Result<(), i32>>
fn get_client_sme( &self, sme_server: ServerEnd<ClientSmeMarker> ) -> Self::GetClientSmeResponseFut
type GetApSmeResponseFut = QueryResponseFut<Result<(), i32>>
fn get_ap_sme( &self, sme_server: ServerEnd<ApSmeMarker> ) -> Self::GetApSmeResponseFut
type GetSmeTelemetryResponseFut = QueryResponseFut<Result<(), i32>>
fn get_sme_telemetry( &self, telemetry_server: ServerEnd<TelemetryMarker> ) -> Self::GetSmeTelemetryResponseFut
type GetFeatureSupportResponseFut = QueryResponseFut<Result<(), i32>>
fn get_feature_support( &self, feature_support_server: ServerEnd<FeatureSupportMarker> ) -> Self::GetFeatureSupportResponseFut
source§impl Proxy for GenericSmeProxy
impl Proxy for GenericSmeProxy
§type Protocol = GenericSmeMarker
type Protocol = GenericSmeMarker
Proxy
controls.