pub struct ConfigBuilder { /* private fields */ }Expand description
Assembles a Config. Created with Config::builder.
Implementations§
Source§impl ConfigBuilder
impl ConfigBuilder
Sourcepub fn token_store(self, token_store: impl TokenStore + 'static) -> Self
pub fn token_store(self, token_store: impl TokenStore + 'static) -> Self
Overrides the TokenStore carrying the session token between the
client and the server.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConfigBuilder
impl !UnwindSafe for ConfigBuilder
impl Freeze for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnsafeUnpin for ConfigBuilder
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