pub struct EdgeTtsClientBuilder { /* private fields */ }Implementations§
Source§impl EdgeTtsClientBuilder
impl EdgeTtsClientBuilder
pub fn connect_timeout(self, timeout: Duration) -> Self
pub fn receive_timeout(self, timeout: Duration) -> Self
pub fn ws_pool_size(self, size: usize) -> Self
pub fn ws_idle_ttl(self, ttl: Duration) -> Self
pub fn ws_warmup(self, enabled: bool) -> Self
pub fn request_chunk_reuse(self, enabled: bool) -> Self
pub fn build(self) -> Result<EdgeTtsClient>
Trait Implementations§
Source§impl Clone for EdgeTtsClientBuilder
impl Clone for EdgeTtsClientBuilder
Source§fn clone(&self) -> EdgeTtsClientBuilder
fn clone(&self) -> EdgeTtsClientBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeTtsClientBuilder
impl Debug for EdgeTtsClientBuilder
Auto Trait Implementations§
impl Freeze for EdgeTtsClientBuilder
impl RefUnwindSafe for EdgeTtsClientBuilder
impl Send for EdgeTtsClientBuilder
impl Sync for EdgeTtsClientBuilder
impl Unpin for EdgeTtsClientBuilder
impl UnsafeUnpin for EdgeTtsClientBuilder
impl UnwindSafe for EdgeTtsClientBuilder
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