pub struct EbbmemClientBuilder { /* private fields */ }Implementations§
Source§impl EbbmemClientBuilder
impl EbbmemClientBuilder
pub fn new() -> Self
pub fn base_url(self, value: impl Into<String>) -> Self
pub fn token(self, value: impl Into<String>) -> Self
pub fn api_key(self, value: impl Into<String>) -> Self
pub fn namespace(self, value: impl Into<String>) -> Self
pub fn timeout(self, value: Duration) -> Self
pub fn max_retries(self, value: u32) -> Self
pub fn header(self, name: impl Into<String>, value: impl Into<String>) -> Self
pub fn build(self) -> Result<EbbmemClient, EbbmemError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EbbmemClientBuilder
impl RefUnwindSafe for EbbmemClientBuilder
impl Send for EbbmemClientBuilder
impl Sync for EbbmemClientBuilder
impl Unpin for EbbmemClientBuilder
impl UnsafeUnpin for EbbmemClientBuilder
impl UnwindSafe for EbbmemClientBuilder
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