Enum digest_headers::ShaSize
[−]
[src]
pub enum ShaSize { TwoFiftySix, ThreeEightyFour, FiveTwelve, }
Defines variants for the size of SHA hash.
Since this isn't being used for encryption or identification, it doesn't need to be very strong. That said, it's ultimately up to the user of this library, so we provide options for 256, 384, and 512.
Variants
TwoFiftySix
ThreeEightyFour
FiveTwelve
Trait Implementations
impl Copy for ShaSize
[src]
impl Clone for ShaSize
[src]
fn clone(&self) -> ShaSize
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ShaSize
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ShaSize
[src]
fn eq(&self, __arg_0: &ShaSize) -> bool
[src]
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]
This method tests for !=
.
impl Eq for ShaSize
[src]
impl Display for ShaSize
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more