Struct gpgme::keys::HashAlgorithm [] [src]

pub struct HashAlgorithm(_);

Methods

impl HashAlgorithm

unsafe fn from_raw(raw: gpgme_hash_algo_t) -> HashAlgorithm

fn raw(&self) -> gpgme_hash_algo_t

impl HashAlgorithm

fn name(&self) -> StrResult<'static>

Trait Implementations

impl Debug for HashAlgorithm

fn fmt(&self, f: &mut Formatter) -> Result

impl Display for HashAlgorithm

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Hash for HashAlgorithm

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for HashAlgorithm

fn eq(&self, __arg_0: &HashAlgorithm) -> bool

fn ne(&self, __arg_0: &HashAlgorithm) -> bool

impl Eq for HashAlgorithm

impl Clone for HashAlgorithm

fn clone(&self) -> HashAlgorithm

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for HashAlgorithm