pub enum CryptoEncoding {
Pem,
Der,
Jwk,
Base64,
Hex,
Raw,
Unknown,
}Expand description
Cryptographic encoding labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CryptoEncoding
impl Clone for CryptoEncoding
Source§fn clone(&self) -> CryptoEncoding
fn clone(&self) -> CryptoEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CryptoEncoding
impl Debug for CryptoEncoding
Source§impl Display for CryptoEncoding
impl Display for CryptoEncoding
Source§impl FromStr for CryptoEncoding
impl FromStr for CryptoEncoding
Source§type Err = CryptoParseError
type Err = CryptoParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<CryptoEncoding, <CryptoEncoding as FromStr>::Err>
fn from_str( input: &str, ) -> Result<CryptoEncoding, <CryptoEncoding as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for CryptoEncoding
impl Hash for CryptoEncoding
Source§impl Ord for CryptoEncoding
impl Ord for CryptoEncoding
Source§fn cmp(&self, other: &CryptoEncoding) -> Ordering
fn cmp(&self, other: &CryptoEncoding) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CryptoEncoding
impl PartialEq for CryptoEncoding
Source§fn eq(&self, other: &CryptoEncoding) -> bool
fn eq(&self, other: &CryptoEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CryptoEncoding
impl PartialOrd for CryptoEncoding
impl Copy for CryptoEncoding
impl Eq for CryptoEncoding
impl StructuralPartialEq for CryptoEncoding
Auto Trait Implementations§
impl Freeze for CryptoEncoding
impl RefUnwindSafe for CryptoEncoding
impl Send for CryptoEncoding
impl Sync for CryptoEncoding
impl Unpin for CryptoEncoding
impl UnsafeUnpin for CryptoEncoding
impl UnwindSafe for CryptoEncoding
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