Enum gpgme::tofu::TofuPolicy
[−]
[src]
pub enum TofuPolicy { None, Auto, Good, Unknown, Bad, Ask, Other(gpgme_tofu_policy_t), }
Variants
None
Auto
Good
Unknown
Bad
Ask
Other(gpgme_tofu_policy_t)
Methods
impl TofuPolicy
[src]
unsafe fn from_raw(raw: gpgme_tofu_policy_t) -> TofuPolicy
fn raw(&self) -> gpgme_tofu_policy_t
Trait Implementations
impl Copy for TofuPolicy
[src]
impl Clone for TofuPolicy
[src]
fn clone(&self) -> TofuPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for TofuPolicy
[src]
impl PartialEq for TofuPolicy
[src]
fn eq(&self, __arg_0: &TofuPolicy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TofuPolicy) -> bool
This method tests for !=
.
impl Hash for TofuPolicy
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.