pub struct ClientBuilder<T: Transport> { /* private fields */ }
Implementations§
Source§impl<T: Transport> ClientBuilder<T>
impl<T: Transport> ClientBuilder<T>
pub fn new(transport: T) -> Self
pub fn with_secure_value( self, key: impl Into<String>, value: SecureValue, ) -> Self
pub fn use_strict(self) -> Self
pub fn with_strict(self, strict: bool) -> Self
pub fn build(self) -> Client<T>
Auto Trait Implementations§
impl<T> Freeze for ClientBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for ClientBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for ClientBuilder<T>
impl<T> Sync for ClientBuilder<T>
impl<T> Unpin for ClientBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for ClientBuilder<T>where
T: UnwindSafe,
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