pub enum CredentialSend {
Unauthorized,
Always,
}Expand description
When to send credentials.
Variants§
Send credentials only when the server requests them (401 response).
Always
Always send credentials with every request (preemptive).
Trait Implementations§
Source§impl Clone for CredentialSend
impl Clone for CredentialSend
Source§fn clone(&self) -> CredentialSend
fn clone(&self) -> CredentialSend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CredentialSend
impl Debug for CredentialSend
Source§impl PartialEq for CredentialSend
impl PartialEq for CredentialSend
impl Copy for CredentialSend
impl Eq for CredentialSend
impl StructuralPartialEq for CredentialSend
Auto Trait Implementations§
impl Freeze for CredentialSend
impl RefUnwindSafe for CredentialSend
impl Send for CredentialSend
impl Sync for CredentialSend
impl Unpin for CredentialSend
impl UnwindSafe for CredentialSend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.