pub struct FullmacDevice { /* private fields */ }Implementations§
Source§impl FullmacDevice
TODO(https://fxbug.dev/368323681): Users should be notified when the WlanFullmacImpl channel
closes.
impl FullmacDevice
TODO(https://fxbug.dev/368323681): Users should be notified when the WlanFullmacImpl channel closes.
pub fn new( fullmac_impl_sync_proxy: WlanFullmacImpl_SynchronousProxy, ) -> FullmacDevice
Trait Implementations§
Source§impl DeviceOps for FullmacDevice
impl DeviceOps for FullmacDevice
fn init( &mut self, fullmac_ifc_client_end: ClientEnd<WlanFullmacImplIfcMarker>, ) -> Result<Channel, Status>
fn query_device_info(&self) -> Result<WlanFullmacImplQueryResponse>
fn query_security_support(&self) -> Result<SecuritySupport>
fn query_spectrum_management_support(&self) -> Result<SpectrumManagementSupport>
fn query_telemetry_support(&self) -> Result<Result<TelemetrySupport, i32>>
fn query_apf_packet_filter_support( &self, ) -> Result<Result<ApfPacketFilterSupport, i32>>
fn start_scan(&self, req: WlanFullmacImplStartScanRequest) -> Result<()>
fn connect(&self, req: WlanFullmacImplConnectRequest) -> Result<()>
fn reconnect(&self, req: WlanFullmacImplReconnectRequest) -> Result<()>
fn roam(&self, req: WlanFullmacImplRoamRequest) -> Result<()>
fn auth_resp(&self, resp: WlanFullmacImplAuthRespRequest) -> Result<()>
fn deauth(&self, req: WlanFullmacImplDeauthRequest) -> Result<()>
fn assoc_resp(&self, resp: WlanFullmacImplAssocRespRequest) -> Result<()>
fn disassoc(&self, req: WlanFullmacImplDisassocRequest) -> Result<()>
fn start_bss(&self, req: WlanFullmacImplStartBssRequest) -> Result<()>
fn stop_bss(&self, req: WlanFullmacImplStopBssRequest) -> Result<()>
fn set_keys( &self, req: WlanFullmacImplSetKeysRequest, ) -> Result<WlanFullmacSetKeysResp>
fn eapol_tx(&self, req: WlanFullmacImplEapolTxRequest) -> Result<()>
fn get_iface_stats(&self) -> Result<GetIfaceStatsResponse>
fn get_iface_histogram_stats(&self) -> Result<GetIfaceHistogramStatsResponse>
fn get_signal_report(&self) -> Result<Result<SignalReport, i32>>
fn sae_handshake_resp( &self, resp: WlanFullmacImplSaeHandshakeRespRequest, ) -> Result<()>
fn sae_frame_tx(&self, frame: SaeFrame) -> Result<()>
fn wmm_status_req(&self) -> Result<()>
fn on_link_state_changed( &self, req: WlanFullmacImplOnLinkStateChangedRequest, ) -> Result<()>
fn set_mac_address( &self, req: WlanFullmacImplSetMacAddressRequest, ) -> Result<Result<(), i32>>
fn install_apf_packet_filter( &self, req: WlanFullmacImplInstallApfPacketFilterRequest, ) -> Result<Result<(), i32>>
fn read_apf_packet_filter_data( &self, ) -> Result<Result<WlanFullmacImplReadApfPacketFilterDataResponse, i32>>
fn set_apf_packet_filter_enabled( &self, req: WlanFullmacImplSetApfPacketFilterEnabledRequest, ) -> Result<Result<(), i32>>
fn get_apf_packet_filter_enabled( &self, ) -> Result<Result<WlanFullmacImplGetApfPacketFilterEnabledResponse, i32>>
Auto Trait Implementations§
impl Freeze for FullmacDevice
impl RefUnwindSafe for FullmacDevice
impl Send for FullmacDevice
impl Sync for FullmacDevice
impl Unpin for FullmacDevice
impl UnsafeUnpin for FullmacDevice
impl UnwindSafe for FullmacDevice
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more