Enum wtransport::tls::Sha256DigestFmt
source · pub enum Sha256DigestFmt {
BytesArray,
DottedHex,
}
Expand description
Represents the formatting options for displaying a SHA-256 digest.
Variants§
BytesArray
Represents the SHA-256 digest as an array of bytes.
The string-format is as follows: "[b0, b1, b2, ..., b31]"
,
where b
is the byte represented as a decimal integer.
DottedHex
Represents the SHA-256 digest as a dotted hexadecimal string.
The string-format is as follows: "x0:x1:x2:...:x31"
where x
is the byte represented as a hexadecimal integer.
Trait Implementations§
source§impl Clone for Sha256DigestFmt
impl Clone for Sha256DigestFmt
source§fn clone(&self) -> Sha256DigestFmt
fn clone(&self) -> Sha256DigestFmt
Returns a copy 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 Sha256DigestFmt
impl Debug for Sha256DigestFmt
impl Copy for Sha256DigestFmt
Auto Trait Implementations§
impl Freeze for Sha256DigestFmt
impl RefUnwindSafe for Sha256DigestFmt
impl Send for Sha256DigestFmt
impl Sync for Sha256DigestFmt
impl Unpin for Sha256DigestFmt
impl UnwindSafe for Sha256DigestFmt
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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