Struct sequoia_openpgp::packet::key::UnspecifiedRole [−][src]
pub struct UnspecifiedRole;
Expand description
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
Converts a key with an unspecified role into this kind of key. Read more
Converts a key reference with an unspecified role into this kind of key reference. Read more
Converts a key bundle with an unspecified role into this kind of key bundle. Read more
fn convert_bundle_ref<P: KeyParts>(
bundle: &KeyBundle<P, UnspecifiedRole>
) -> &KeyBundle<P, Self>
[src]
fn convert_bundle_ref<P: KeyParts>(
bundle: &KeyBundle<P, UnspecifiedRole>
) -> &KeyBundle<P, Self>
[src]Converts a key bundle reference with an unspecified role into this kind of key bundle reference. Read more
impl<'a, P> PrimaryKey<'a, P, UnspecifiedRole> for ErasedKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]
impl<'a, P> PrimaryKey<'a, P, UnspecifiedRole> for ErasedKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]impl<'a, P> PrimaryKey<'a, P, UnspecifiedRole> for ValidErasedKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]
impl<'a, P> PrimaryKey<'a, P, UnspecifiedRole> for ValidErasedKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]Auto Trait Implementations
impl RefUnwindSafe for UnspecifiedRole
impl Send for UnspecifiedRole
impl Sync for UnspecifiedRole
impl Unpin for UnspecifiedRole
impl UnwindSafe for UnspecifiedRole
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self