pub struct LunoClientBuilder { /* private fields */ }
Implementations§
Source§impl LunoClientBuilder
impl LunoClientBuilder
Sourcepub fn with_timeout(self, timeout_ms: u64) -> Self
pub fn with_timeout(self, timeout_ms: u64) -> Self
Add timeout in milliseconds
Sourcepub fn with_request_logger(self) -> Self
pub fn with_request_logger(self) -> Self
Add request/response logger middleware
Sourcepub fn build(self) -> LunoClient
pub fn build(self) -> LunoClient
Build LunoClientBuilder into a LunoClient
Auto Trait Implementations§
impl Freeze for LunoClientBuilder
impl RefUnwindSafe for LunoClientBuilder
impl Send for LunoClientBuilder
impl Sync for LunoClientBuilder
impl Unpin for LunoClientBuilder
impl UnwindSafe for LunoClientBuilder
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