Struct gpgme::Gpgme[][src]

pub struct Gpgme { /* fields omitted */ }

A type for managing the library's configuration.

Methods

impl Gpgme
[src]

HOME_DIR: &'static str = "homedir"

AGENT_SOCKET: &'static str = "agent-socket"

UISERVER_SOCKET: &'static str = "uiserver-socket"

GPGCONF_NAME: &'static str = "gpgconf-name"

GPG_NAME: &'static str = "gpg-name"

GPGSM_NAME: &'static str = "gpgsm-name"

G13_NAME: &'static str = "g13-name"

Checks that the linked version of the library is at least the specified version.

Note: false is returned, if version is not in the format MAJOR.MINOR.MICRO.

Examples

let gpgme = gpgme::init();
assert!(gpgme.check_version("1.4.0"));

Returns the version string for the library.

Returns the default value for specified configuration option.

Commonly supported values for what are provided as associated constants.

Returns the default value for specified configuration option.

Commonly supported values for what are provided as associated constants.

Checks that the engine implementing the specified protocol is supported by the library.

Trait Implementations

impl Debug for Gpgme
[src]

Formats the value using the given formatter. Read more

impl Clone for Gpgme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Gpgme

impl Sync for Gpgme