[][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 Clone for UnspecifiedParts[src]

impl Copy for UnspecifiedParts[src]

impl Debug for UnspecifiedParts[src]

impl Eq for UnspecifiedParts[src]

impl Hash for UnspecifiedParts[src]

impl KeyParts for UnspecifiedParts[src]

fn convert_key_amalgamation_ref<'a, R: KeyRole>(
    ka: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
) -> Result<&'a ComponentAmalgamation<'a, Key<Self, R>>>

Converts a reference to a key amalgamation with unspecified parts into this kind of key amalgamation reference.

impl PartialEq<UnspecifiedParts> for UnspecifiedParts[src]

impl StructuralEq for UnspecifiedParts[src]

impl StructuralPartialEq for UnspecifiedParts[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V> for T where
    V: MultiLane<T>,