pub enum DigestAlgorithmIdentifier {
sha256(sha256),
}Variants§
Implementations§
Source§impl DigestAlgorithmIdentifier
impl DigestAlgorithmIdentifier
pub fn try_from_super(sup: AlgorithmIdentifier) -> Result<Self, ASN1Error>
Trait Implementations§
Source§impl BERDecodable for DigestAlgorithmIdentifier
impl BERDecodable for DigestAlgorithmIdentifier
Source§fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
Source§impl Clone for DigestAlgorithmIdentifier
impl Clone for DigestAlgorithmIdentifier
Source§fn clone(&self) -> DigestAlgorithmIdentifier
fn clone(&self) -> DigestAlgorithmIdentifier
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DigestAlgorithmIdentifier
impl Debug for DigestAlgorithmIdentifier
Source§impl From<sha256> for DigestAlgorithmIdentifier
impl From<sha256> for DigestAlgorithmIdentifier
Source§fn from(item: sha256) -> DigestAlgorithmIdentifier
fn from(item: sha256) -> DigestAlgorithmIdentifier
Converts to this type from the input type.
Source§impl Hash for DigestAlgorithmIdentifier
impl Hash for DigestAlgorithmIdentifier
impl Eq for DigestAlgorithmIdentifier
impl StructuralPartialEq for DigestAlgorithmIdentifier
Auto Trait Implementations§
impl Freeze for DigestAlgorithmIdentifier
impl RefUnwindSafe for DigestAlgorithmIdentifier
impl Send for DigestAlgorithmIdentifier
impl Sync for DigestAlgorithmIdentifier
impl Unpin for DigestAlgorithmIdentifier
impl UnwindSafe for DigestAlgorithmIdentifier
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)