pub struct ClientBuilder { /* private fields */ }Implementations§
Source§impl ClientBuilder
impl ClientBuilder
pub async fn connect(self) -> Result<Client>
pub fn connect_lazy(self) -> Result<Client>
pub fn concurrency_limit(self, concurrency_limit: usize) -> Self
pub fn connect_timeout(self, connect_timeout: Duration) -> Self
pub fn timeout(self, timeout: Duration) -> Self
pub fn tls(self, tls_ca: Option<String>, tls_domain: Option<String>) -> Self
pub fn auth_token(self, token: Option<String>) -> Self
pub fn chunk_size(self, chunk_size: usize) -> Self
pub fn recv_chunks_timeout(self, recv_chunks_timeout: Duration) -> Self
Trait Implementations§
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
Source§impl<T> HashExt for Twhere
T: ?Sized,
impl<T> HashExt for Twhere
T: ?Sized,
fn hash_value(self, h: u64) -> HashWrapper<Self>where
Self: Sized,
fn hash_empty(self) -> EmptyHashWrapper<Self>where
Self: Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request