Struct fidl_fuchsia_wlan_sme::ClientSmeProxy
source · pub struct ClientSmeProxy { /* private fields */ }
Implementations§
source§impl ClientSmeProxy
impl ClientSmeProxy
sourcepub fn take_event_stream(&self) -> ClientSmeEventStream
pub fn take_event_stream(&self) -> ClientSmeEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn scan(&self, req: &ScanRequest) -> QueryResponseFut<ClientSmeScanResult>
pub fn connect( &self, req: &ConnectRequest, txn: Option<ServerEnd<ConnectTransactionMarker>> ) -> Result<(), Error>
pub fn disconnect(&self, reason: UserDisconnectReason) -> QueryResponseFut<()>
pub fn status(&self) -> QueryResponseFut<ClientStatusResponse>
pub fn wmm_status(&self) -> QueryResponseFut<ClientSmeWmmStatusResult>
Trait Implementations§
source§impl ClientSmeProxyInterface for ClientSmeProxy
impl ClientSmeProxyInterface for ClientSmeProxy
type ScanResponseFut = QueryResponseFut<Result<Vmo, ScanErrorCode>>
fn scan(&self, req: &ScanRequest) -> Self::ScanResponseFut
fn connect( &self, req: &ConnectRequest, txn: Option<ServerEnd<ConnectTransactionMarker>> ) -> Result<(), Error>
type DisconnectResponseFut = QueryResponseFut<()>
fn disconnect( &self, reason: UserDisconnectReason ) -> Self::DisconnectResponseFut
type StatusResponseFut = QueryResponseFut<ClientStatusResponse>
fn status(&self) -> Self::StatusResponseFut
type WmmStatusResponseFut = QueryResponseFut<Result<WmmStatusResponse, i32>>
fn wmm_status(&self) -> Self::WmmStatusResponseFut
source§impl Clone for ClientSmeProxy
impl Clone for ClientSmeProxy
source§fn clone(&self) -> ClientSmeProxy
fn clone(&self) -> ClientSmeProxy
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 ClientSmeProxy
impl Debug for ClientSmeProxy
source§impl Proxy for ClientSmeProxy
impl Proxy for ClientSmeProxy
§type Protocol = ClientSmeMarker
type Protocol = ClientSmeMarker
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
Auto Trait Implementations§
impl Freeze for ClientSmeProxy
impl !RefUnwindSafe for ClientSmeProxy
impl Send for ClientSmeProxy
impl Sync for ClientSmeProxy
impl Unpin for ClientSmeProxy
impl !UnwindSafe for ClientSmeProxy
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