pub enum SuppliedSessionCredential {
Authorization(SuppliedSessionAuthorization),
SuppliedCookies(SuppliedSessionCookies),
}Expand description
Move-only supplied credential selected for one session runtime.
Variants§
Authorization(SuppliedSessionAuthorization)
One caller-supplied Authorization header.
SuppliedCookies(SuppliedSessionCookies)
One bounded caller-supplied cookie jar.
Implementations§
Source§impl SuppliedSessionCredential
impl SuppliedSessionCredential
Sourcepub const fn mechanism(&self) -> SuppliedSessionCredentialMechanism
pub const fn mechanism(&self) -> SuppliedSessionCredentialMechanism
Credential mechanism carried by this value.
Trait Implementations§
Source§impl Debug for SuppliedSessionCredential
impl Debug for SuppliedSessionCredential
Source§impl From<SuppliedSessionAuthorization> for SuppliedSessionCredential
impl From<SuppliedSessionAuthorization> for SuppliedSessionCredential
Source§fn from(value: SuppliedSessionAuthorization) -> Self
fn from(value: SuppliedSessionAuthorization) -> Self
Converts to this type from the input type.
Source§impl From<SuppliedSessionCookies> for SuppliedSessionCredential
impl From<SuppliedSessionCookies> for SuppliedSessionCredential
Source§fn from(value: SuppliedSessionCookies) -> Self
fn from(value: SuppliedSessionCookies) -> Self
Converts to this type from the input type.
Source§impl From<SuppliedSessionCredential> for SuppliedSessionRuntimeInput
impl From<SuppliedSessionCredential> for SuppliedSessionRuntimeInput
Source§fn from(value: SuppliedSessionCredential) -> Self
fn from(value: SuppliedSessionCredential) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SuppliedSessionCredential
impl RefUnwindSafe for SuppliedSessionCredential
impl Send for SuppliedSessionCredential
impl Sync for SuppliedSessionCredential
impl Unpin for SuppliedSessionCredential
impl UnsafeUnpin for SuppliedSessionCredential
impl UnwindSafe for SuppliedSessionCredential
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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