pub enum DecodingKeyKind {
SecretOrDer(Vec<u8>),
RsaModulusExponent {
n: Vec<u8>,
e: Vec<u8>,
},
}Expand description
Different kinds of decoding keys.
Variants§
Trait Implementations§
Source§impl Clone for DecodingKeyKind
impl Clone for DecodingKeyKind
Source§fn clone(&self) -> DecodingKeyKind
fn clone(&self) -> DecodingKeyKind
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DecodingKeyKind
impl RefUnwindSafe for DecodingKeyKind
impl Send for DecodingKeyKind
impl Sync for DecodingKeyKind
impl Unpin for DecodingKeyKind
impl UnwindSafe for DecodingKeyKind
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