pub struct Builder { /* private fields */ }Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Self
pub fn path<P>(&mut self, socket_path: P) -> &mut Self
pub fn timeout(&mut self, read_timeout: Duration) -> &mut Self
pub fn nonblocking(&mut self) -> &mut Self
Sourcepub fn with_spawn(&self) -> Result<&Self>
pub fn with_spawn(&self) -> Result<&Self>
Spawn the speech-dispatcher daemon before creating the client
pub fn build(&self) -> Result<Client<UnixStream>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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