pub enum AlgorithmType {
RS256,
RS384,
RS512,
ES256,
ES384,
ES512,
}Expand description
Algorithm identifier from JWT header
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for AlgorithmType
impl AsRef<str> for AlgorithmType
Source§impl Clone for AlgorithmType
impl Clone for AlgorithmType
Source§fn clone(&self) -> AlgorithmType
fn clone(&self) -> AlgorithmType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlgorithmType
impl Debug for AlgorithmType
Source§impl Display for AlgorithmType
impl Display for AlgorithmType
Source§impl PartialEq for AlgorithmType
impl PartialEq for AlgorithmType
impl Eq for AlgorithmType
impl StructuralPartialEq for AlgorithmType
Auto Trait Implementations§
impl Freeze for AlgorithmType
impl RefUnwindSafe for AlgorithmType
impl Send for AlgorithmType
impl Sync for AlgorithmType
impl Unpin for AlgorithmType
impl UnwindSafe for AlgorithmType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.