pub struct ClientBuilder { /* private fields */ }Expand description
Builder object used to construct a Client session
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn cli_path<I, P>(self, cli_path: I) -> Self
pub fn cli_path<I, P>(self, cli_path: I) -> Self
A path-like object for this application’s UNIX domain socket
§Examples
use wpactrl::Client;
let wpa = Client::builder()
.cli_path("/tmp")
.open()
.unwrap();Trait Implementations§
Source§impl Default for ClientBuilder
impl Default for ClientBuilder
Source§fn default() -> ClientBuilder
fn default() -> ClientBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnwindSafe for ClientBuilder
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