pub struct WifiSetup { /* private fields */ }Expand description
Setup struct for the WiFi Station process.
Implementations§
Source§impl WifiSetup
impl WifiSetup
pub fn new() -> Self
Sourcepub fn with_capacities(
request_channel_size: usize,
broadcast_channel_size: usize,
) -> Self
pub fn with_capacities( request_channel_size: usize, broadcast_channel_size: usize, ) -> Self
Like Self::new but with explicit request and broadcast channel
capacities (both default to 32).
pub fn set_socket_path<S: Into<PathBuf>>(&mut self, path: S)
pub fn set_select_timeout(&mut self, timeout: Duration)
Sourcepub fn set_command_timeout(&mut self, timeout: Duration)
pub fn set_command_timeout(&mut self, timeout: Duration)
Set how long to wait for a reply to a control command/request before
giving up with ClientError::Timeout.
pub fn get_broadcast_receiver(&self) -> BroadcastReceiver
pub fn get_request_client(&self) -> RequestClient
pub fn complete(self) -> WifiStation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WifiSetup
impl RefUnwindSafe for WifiSetup
impl Send for WifiSetup
impl Sync for WifiSetup
impl Unpin for WifiSetup
impl UnsafeUnpin for WifiSetup
impl UnwindSafe for WifiSetup
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