Enum mobi::headers::Encryption
source · pub enum Encryption {
No,
OldMobiPocket,
MobiPocket,
}
Expand description
Encryption types available in MOBI format.
Variants§
Trait Implementations§
source§impl Clone for Encryption
impl Clone for Encryption
source§fn clone(&self) -> Encryption
fn clone(&self) -> Encryption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Encryption
impl Debug for Encryption
source§impl Default for Encryption
impl Default for Encryption
source§impl From<Encryption> for u16
impl From<Encryption> for u16
source§fn from(encryption: Encryption) -> u16
fn from(encryption: Encryption) -> u16
Converts to this type from the input type.
source§impl From<u16> for Encryption
impl From<u16> for Encryption
source§fn from(n: u16) -> Encryption
fn from(n: u16) -> Encryption
Converts to this type from the input type.
source§impl PartialEq<Encryption> for Encryption
impl PartialEq<Encryption> for Encryption
source§fn eq(&self, other: &Encryption) -> bool
fn eq(&self, other: &Encryption) -> bool
impl Copy for Encryption
impl Eq for Encryption
impl StructuralEq for Encryption
impl StructuralPartialEq for Encryption
Auto Trait Implementations§
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnwindSafe for Encryption
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.