pub struct ClientBuilder { /* private fields */ }Implementations§
Source§impl ClientBuilder
impl ClientBuilder
pub fn base_url(self, value: impl Into<String>) -> Self
pub fn http_client(self, value: Client) -> Self
pub fn telemetry(self, value: Arc<dyn Telemetry>) -> Self
pub fn error_reporter(self, value: Arc<dyn ErrorReporter>) -> Self
pub fn error_reporting_policy(self, value: ErrorReportingPolicy) -> Self
pub fn build(self) -> Result<Client>
Auto Trait Implementations§
impl !RefUnwindSafe for ClientBuilder
impl !UnwindSafe for ClientBuilder
impl Freeze for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnsafeUnpin 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