Enum google_authz::TokenSource [−][src]
pub enum TokenSource {
User(User),
ServiceAccount(ServiceAccount),
Metadata(Metadata),
}Variants
Implementations
Trait Implementations
impl From<Credentials> for TokenSource[src]
impl From<Credentials> for TokenSource[src]fn from(c: Credentials) -> Self[src]
fn from(c: Credentials) -> Self[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for TokenSource
impl Send for TokenSource
impl Sync for TokenSource
impl Unpin for TokenSource
impl !UnwindSafe for TokenSource
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]