Struct sequoia_openpgp::packet::key::UnspecifiedRole [−][src]
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 Clone for UnspecifiedRole
[src]fn clone(&self) -> UnspecifiedRole
[src]
fn clone(&self) -> UnspecifiedRole
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for UnspecifiedRole
[src]
impl Debug for UnspecifiedRole
[src]impl Hash for UnspecifiedRole
[src]
impl Hash for UnspecifiedRole
[src]impl KeyRole for UnspecifiedRole
[src]
impl KeyRole for UnspecifiedRole
[src]fn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
[src]
fn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
[src]Converts a key with an unspecified role into this kind of key. Read more
fn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
[src]
fn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
[src]Converts a key reference with an unspecified role into this kind of key reference. Read more
fn convert_bundle<P: KeyParts>(
bundle: KeyBundle<P, UnspecifiedRole>
) -> KeyBundle<P, Self>
[src]
fn convert_bundle<P: KeyParts>(
bundle: KeyBundle<P, UnspecifiedRole>
) -> KeyBundle<P, Self>
[src]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 PartialEq<UnspecifiedRole> for UnspecifiedRole
[src]
impl PartialEq<UnspecifiedRole> for UnspecifiedRole
[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 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]impl Copy for UnspecifiedRole
[src]
impl Eq for UnspecifiedRole
[src]
impl StructuralEq for UnspecifiedRole
[src]
impl StructuralPartialEq for UnspecifiedRole
[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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more