[][src]Struct sequoia_openpgp::packet::key::UnspecifiedParts

pub struct UnspecifiedParts;

Indicates that a Key's parts are unspecified.

Neither public key-specific nor secret key-specific operations are allowed on such keys.

For instance, it is not possible to export a key with the UnspecifiedParts marker, because it is unclear how to treat any secret key material. To export such a key, you need to use a different KeyParts marker.

Trait Implementations

impl KeyParts for UnspecifiedParts[src]

impl Eq for UnspecifiedParts[src]

impl Copy for UnspecifiedParts[src]

impl PartialEq<UnspecifiedParts> for UnspecifiedParts[src]

fn ne(&self, other: &Rhs) -> bool

This method tests for !=.

impl Clone for UnspecifiedParts[src]

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

Performs copy-assignment from source. Read more

impl Hash for UnspecifiedParts[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for UnspecifiedParts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip for T where
    V: MultiLane<T>,