Enum asap_deps_jsonwebtoken::Algorithm [−][src]
pub enum Algorithm { HS256, HS384, HS512, RS256, RS384, RS512, }
The algorithms supported for signing/verifying
Variants
HS256
HMAC using SHA-256
HS384
HMAC using SHA-384
HS512
HMAC using SHA-512
RS256
RSASSA-PKCS1-v1_5 using SHA-256
RS384
RSASSA-PKCS1-v1_5 using SHA-384
RS512
RSASSA-PKCS1-v1_5 using SHA-512
Trait Implementations
impl Debug for Algorithm
[src]
impl Debug for Algorithm
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Algorithm
[src]
impl PartialEq for Algorithm
fn eq(&self, other: &Algorithm) -> bool
[src]
fn eq(&self, other: &Algorithm) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for Algorithm
[src]
impl Copy for Algorithm
impl Clone for Algorithm
[src]
impl Clone for Algorithm
fn clone(&self) -> Algorithm
[src]
fn clone(&self) -> Algorithm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Algorithm
[src]
impl Default for Algorithm