Enum gpgme::data::Encoding [−][src]
pub enum Encoding { None, Binary, Base64, Armor, Url, UrlEscaped, Url0, Mime, Other(gpgme_data_encoding_t), }
Variants
None
Binary
Base64
Armor
Url
UrlEscaped
Url0
Mime
Other(gpgme_data_encoding_t)
Methods
impl Encoding
[src]
impl Encoding
pub unsafe fn from_raw(raw: gpgme_data_encoding_t) -> Encoding
[src]
pub unsafe fn from_raw(raw: gpgme_data_encoding_t) -> Encoding
pub fn raw(&self) -> gpgme_data_encoding_t
[src]
pub fn raw(&self) -> gpgme_data_encoding_t
Trait Implementations
impl Copy for Encoding
[src]
impl Copy for Encoding
impl Clone for Encoding
[src]
impl Clone for Encoding
fn clone(&self) -> Encoding
[src]
fn clone(&self) -> Encoding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Encoding
[src]
impl Eq for Encoding
impl PartialEq for Encoding
[src]
impl PartialEq for Encoding
fn eq(&self, other: &Encoding) -> bool
[src]
fn eq(&self, other: &Encoding) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Encoding) -> bool
[src]
fn ne(&self, other: &Encoding) -> bool
This method tests for !=
.
impl Hash for Encoding
[src]
impl Hash for Encoding
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Encoding
[src]
impl Debug for Encoding