pub struct WifiSetupGeneric<const C: usize = 32, const B: usize = 32> { /* private fields */ }
Expand description
The generic WifiSetup struct which has generic constant parameters for adjusting queue size. WiFiSetup type is provided for convenience.
Implementations§
Source§impl<const C: usize, const B: usize> WifiSetupGeneric<C, B>
impl<const C: usize, const B: usize> WifiSetupGeneric<C, B>
pub fn new() -> Result<Self>
pub fn set_socket_path<S: Into<PathBuf>>(&mut self, path: S)
pub fn set_select_timeout(&mut self, timeout: Duration)
pub fn get_broadcast_receiver(&self) -> BroadcastReceiver
pub fn get_request_client(&self) -> RequestClient
pub fn complete(self) -> WifiStation
Auto Trait Implementations§
impl<const C: usize, const B: usize> Freeze for WifiSetupGeneric<C, B>
impl<const C: usize, const B: usize> RefUnwindSafe for WifiSetupGeneric<C, B>
impl<const C: usize, const B: usize> Send for WifiSetupGeneric<C, B>
impl<const C: usize, const B: usize> Sync for WifiSetupGeneric<C, B>
impl<const C: usize, const B: usize> Unpin for WifiSetupGeneric<C, B>
impl<const C: usize, const B: usize> UnwindSafe for WifiSetupGeneric<C, B>
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