pub enum Credentials {
Missing,
Anonymous,
Provider(Arc<dyn TokenProvider>),
// some variants omitted
}Variants§
Missing
Rejected by Client::new; credentials must be explicit.
Anonymous
Allows only operations marked as unauthenticated by the API specification.
Provider(Arc<dyn TokenProvider>)
Implementations§
Trait Implementations§
Source§impl Clone for Credentials
impl Clone for Credentials
Auto Trait Implementations§
impl !RefUnwindSafe for Credentials
impl !UnwindSafe for Credentials
impl Freeze for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnsafeUnpin for Credentials
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