Struct gpgme::Protocol [] [src]

pub struct Protocol(_);

A cryptographic protocol that may be used with the library.

Each protocol is implemented by an engine that the library communicates with to perform various operations.

Methods

impl Protocol

unsafe fn from_raw(raw: gpgme_protocol_t) -> Protocol

fn raw(&self) -> gpgme_protocol_t

impl Protocol

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

Trait Implementations

impl Debug for Protocol

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

impl Display for Protocol

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

Derived Implementations

impl Hash for Protocol

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 Protocol

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

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

impl Eq for Protocol

impl Clone for Protocol

fn clone(&self) -> Protocol

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

impl Copy for Protocol