pub enum ClientBasicSource {
Static(ClientBasicCredential),
Provider(Arc<dyn Fn() -> ClientBasicCredential + Send + Sync>),
}Variants§
Static(ClientBasicCredential)
Provider(Arc<dyn Fn() -> ClientBasicCredential + Send + Sync>)
Trait Implementations§
Source§impl Clone for ClientBasicSource
impl Clone for ClientBasicSource
Source§fn clone(&self) -> ClientBasicSource
fn clone(&self) -> ClientBasicSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientBasicSource
impl !RefUnwindSafe for ClientBasicSource
impl Send for ClientBasicSource
impl Sync for ClientBasicSource
impl Unpin for ClientBasicSource
impl UnsafeUnpin for ClientBasicSource
impl !UnwindSafe for ClientBasicSource
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