pub enum TokenSourcePriority {
HeaderFirst,
CookieFirst,
}Expand description
Priority for selecting which token source to use when multiple are present.
§繁體中文
當同時存在多種 token 來源時,選擇使用哪一種的優先順序。
Variants§
Trait Implementations§
Source§impl Clone for TokenSourcePriority
impl Clone for TokenSourcePriority
Source§fn clone(&self) -> TokenSourcePriority
fn clone(&self) -> TokenSourcePriority
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 moreAuto Trait Implementations§
impl Freeze for TokenSourcePriority
impl RefUnwindSafe for TokenSourcePriority
impl Send for TokenSourcePriority
impl Sync for TokenSourcePriority
impl Unpin for TokenSourcePriority
impl UnwindSafe for TokenSourcePriority
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