[−][src]Struct wifi_nina::Wifi
Implementations
impl<T> Wifi<T> where
T: Transport,
[src]
T: Transport,
pub fn new(transport: T) -> Self
[src]
pub fn get_firmware_version(
&mut self
) -> Result<ArrayVec<[u8; 16]>, Error<T::Error>>
[src]
&mut self
) -> Result<ArrayVec<[u8; 16]>, Error<T::Error>>
pub fn set_led(&mut self, r: u8, g: u8, b: u8) -> Result<(), Error<T::Error>>
[src]
pub fn configure(
&mut self,
config: Config<'_>,
connect_timeout: Option<Duration>
) -> Result<(), Error<T::Error>>
[src]
&mut self,
config: Config<'_>,
connect_timeout: Option<Duration>
) -> Result<(), Error<T::Error>>
pub fn await_connection_state(
&mut self,
connection_state: ConnectionState,
timeout: Duration
) -> Result<(), Error<T::Error>>
[src]
&mut self,
connection_state: ConnectionState,
timeout: Duration
) -> Result<(), Error<T::Error>>
pub fn scan_networks<'a>(
&'a mut self
) -> Result<impl Iterator<Item = Result<ScannedNetwork, Error<T::Error>>> + 'a, Error<T::Error>>
[src]
&'a mut self
) -> Result<impl Iterator<Item = Result<ScannedNetwork, Error<T::Error>>> + 'a, Error<T::Error>>
pub fn ssid(&mut self) -> Result<ArrayVec<[u8; 32]>, Error<T::Error>>
[src]
pub fn bssid(&mut self) -> Result<ArrayVec<[u8; 6]>, Error<T::Error>>
[src]
pub fn rssi(&mut self) -> Result<i32, Error<T::Error>>
[src]
pub fn encryption_type(&mut self) -> Result<EncryptionType, Error<T::Error>>
[src]
pub fn resolve(&mut self, hostname: &str) -> Result<Ipv4Addr, Error<T::Error>>
[src]
pub fn new_client(&mut self) -> Result<Client<T>, Error<T::Error>>
[src]
Trait Implementations
Auto Trait Implementations
impl<T> Send for Wifi<T> where
T: Send,
T: Send,
impl<T> Sync for Wifi<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Wifi<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,