pub enum StoreSelector {
Thumbprint([u8; 20]),
Subject(String),
}Expand description
Certificate selection within a Windows system certificate store.
Variants§
Thumbprint([u8; 20])
SHA-1 thumbprint of the DER certificate.
Subject(String)
Subject attribute value substring, see the module docs.
Trait Implementations§
Source§impl Clone for StoreSelector
impl Clone for StoreSelector
Source§fn clone(&self) -> StoreSelector
fn clone(&self) -> StoreSelector
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 StoreSelector
impl Debug for StoreSelector
impl Eq for StoreSelector
Source§impl PartialEq for StoreSelector
impl PartialEq for StoreSelector
impl StructuralPartialEq for StoreSelector
Auto Trait Implementations§
impl Freeze for StoreSelector
impl RefUnwindSafe for StoreSelector
impl Send for StoreSelector
impl Sync for StoreSelector
impl Unpin for StoreSelector
impl UnsafeUnpin for StoreSelector
impl UnwindSafe for StoreSelector
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.