Struct gpgme::keys::KeyAlgorithm [] [src]

pub struct KeyAlgorithm(_);

Methods

impl KeyAlgorithm

unsafe fn from_raw(raw: gpgme_pubkey_algo_t) -> KeyAlgorithm

fn raw(&self) -> gpgme_pubkey_algo_t

impl KeyAlgorithm

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

Trait Implementations

impl Debug for KeyAlgorithm

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

impl Display for KeyAlgorithm

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

Derived Implementations

impl Hash for KeyAlgorithm

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 KeyAlgorithm

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

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

impl Eq for KeyAlgorithm

impl Clone for KeyAlgorithm

fn clone(&self) -> KeyAlgorithm

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

impl Copy for KeyAlgorithm