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

pub struct UnspecifiedRole;

A marker that indicates the Key's role is unspecified.

Neither primary key-specific nor subkey-specific operations are allowed. To perform those operations, the marker first has to be changed to either key::PrimaryRole or key::SubordinateRole, as appropriate.

Refer to KeyRole for details.

Trait Implementations

impl Clone for UnspecifiedRole[src]

impl Copy for UnspecifiedRole[src]

impl Debug for UnspecifiedRole[src]

impl Eq for UnspecifiedRole[src]

impl Hash for UnspecifiedRole[src]

impl KeyRole for UnspecifiedRole[src]

impl PartialEq<UnspecifiedRole> for UnspecifiedRole[src]

impl<'a, P> PrimaryKey<'a, P, UnspecifiedRole> for ErasedKeyAmalgamation<'a, P> where
    P: 'a + KeyParts

impl<'a, P> PrimaryKey<'a, P, UnspecifiedRole> for ValidErasedKeyAmalgamation<'a, P> where
    P: 'a + KeyParts

impl StructuralEq for UnspecifiedRole[src]

impl StructuralPartialEq for UnspecifiedRole[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.