Type Alias sequoia_openpgp::cert::bundle::KeyBundle

source ·
pub type KeyBundle<KeyPart, KeyRole> = ComponentBundle<Key<KeyPart, KeyRole>>;
Expand description

A key (primary or subkey, public or private) and any associated signatures.

See the module level documentation.

Aliased Type§

struct KeyBundle<KeyPart, KeyRole> { /* private fields */ }

Implementations§

source§

impl<P, R> KeyBundle<P, R>
where P: KeyParts, R: KeyRole,

source

pub fn parts_into_public(self) -> KeyBundle<PublicParts, R>

Changes the key’s parts tag to PublicParts.

source

pub fn parts_as_public(&self) -> &KeyBundle<PublicParts, R>

Changes the key’s parts tag to PublicParts.

source

pub fn parts_as_public_mut(&mut self) -> &mut KeyBundle<PublicParts, R>

Changes the key’s parts tag to PublicParts.

source

pub fn parts_into_secret(self) -> Result<KeyBundle<SecretParts, R>>

Changes the key’s parts tag to SecretParts.

source

pub fn parts_as_secret(&self) -> Result<&KeyBundle<SecretParts, R>>

Changes the key’s parts tag to SecretParts.

source

pub fn parts_as_secret_mut(&mut self) -> Result<&mut KeyBundle<SecretParts, R>>

Changes the key’s parts tag to SecretParts.

source

pub fn parts_into_unspecified(self) -> KeyBundle<UnspecifiedParts, R>

Changes the key’s parts tag to UnspecifiedParts.

source

pub fn parts_as_unspecified(&self) -> &KeyBundle<UnspecifiedParts, R>

Changes the key’s parts tag to UnspecifiedParts.

source

pub fn parts_as_unspecified_mut( &mut self, ) -> &mut KeyBundle<UnspecifiedParts, R>

Changes the key’s parts tag to UnspecifiedParts.

source§

impl<P, R> KeyBundle<P, R>
where P: KeyParts, R: KeyRole,

source

pub fn role_into_primary(self) -> KeyBundle<P, PrimaryRole>

Changes the key’s role tag to PrimaryRole.

source

pub fn role_as_primary(&self) -> &KeyBundle<P, PrimaryRole>

Changes the key’s role tag to PrimaryRole.

source

pub fn role_as_primary_mut(&mut self) -> &mut KeyBundle<P, PrimaryRole>

Changes the key’s role tag to PrimaryRole.

source

pub fn role_into_subordinate(self) -> KeyBundle<P, SubordinateRole>

Changes the key’s role tag to SubordinateRole.

source

pub fn role_as_subordinate(&self) -> &KeyBundle<P, SubordinateRole>

Changes the key’s role tag to SubordinateRole.

source

pub fn role_as_subordinate_mut(&mut self) -> &mut KeyBundle<P, SubordinateRole>

Changes the key’s role tag to SubordinateRole.

source

pub fn role_into_unspecified(self) -> KeyBundle<P, UnspecifiedRole>

Changes the key’s role tag to UnspecifiedRole.

source

pub fn role_as_unspecified(&self) -> &KeyBundle<P, UnspecifiedRole>

Changes the key’s role tag to UnspecifiedRole.

source

pub fn role_as_unspecified_mut(&mut self) -> &mut KeyBundle<P, UnspecifiedRole>

Changes the key’s role tag to UnspecifiedRole.

Trait Implementations§

source§

impl<P> From<&ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, SubordinateRole>
where P: KeyParts,

source§

fn from(p: &KeyBundle<P, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, UnspecifiedRole>
where P: KeyParts,

source§

fn from(p: &KeyBundle<P, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, PrimaryRole>
where P: KeyParts,

source§

fn from(p: &KeyBundle<P, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, UnspecifiedRole>
where P: KeyParts,

source§

fn from(p: &KeyBundle<P, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, PrimaryRole>
where P: KeyParts,

source§

fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, SubordinateRole>
where P: KeyParts,

source§

fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<UnspecifiedParts, R>
where R: KeyRole,

source§

fn from(p: &KeyBundle<PublicParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<PublicParts, R>
where R: KeyRole,

source§

fn from(p: &KeyBundle<SecretParts, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<UnspecifiedParts, R>
where R: KeyRole,

source§

fn from(p: &KeyBundle<SecretParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<PublicParts, R>
where R: KeyRole,

source§

fn from(p: &KeyBundle<UnspecifiedParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&mut ComponentBundle<Key<P, PrimaryRole>>> for &mut KeyBundle<P, SubordinateRole>
where P: KeyParts,

source§

fn from(p: &mut KeyBundle<P, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&mut ComponentBundle<Key<P, PrimaryRole>>> for &mut KeyBundle<P, UnspecifiedRole>
where P: KeyParts,

source§

fn from(p: &mut KeyBundle<P, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&mut ComponentBundle<Key<P, SubordinateRole>>> for &mut KeyBundle<P, PrimaryRole>
where P: KeyParts,

source§

fn from(p: &mut KeyBundle<P, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&mut ComponentBundle<Key<P, SubordinateRole>>> for &mut KeyBundle<P, UnspecifiedRole>
where P: KeyParts,

source§

fn from(p: &mut KeyBundle<P, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&mut ComponentBundle<Key<P, UnspecifiedRole>>> for &mut KeyBundle<P, PrimaryRole>
where P: KeyParts,

source§

fn from(p: &mut KeyBundle<P, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<&mut ComponentBundle<Key<P, UnspecifiedRole>>> for &mut KeyBundle<P, SubordinateRole>
where P: KeyParts,

source§

fn from(p: &mut KeyBundle<P, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&mut ComponentBundle<Key<PublicParts, R>>> for &mut KeyBundle<UnspecifiedParts, R>
where R: KeyRole,

source§

fn from(p: &mut KeyBundle<PublicParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&mut ComponentBundle<Key<SecretParts, R>>> for &mut KeyBundle<PublicParts, R>
where R: KeyRole,

source§

fn from(p: &mut KeyBundle<SecretParts, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&mut ComponentBundle<Key<SecretParts, R>>> for &mut KeyBundle<UnspecifiedParts, R>
where R: KeyRole,

source§

fn from(p: &mut KeyBundle<SecretParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<&mut ComponentBundle<Key<UnspecifiedParts, R>>> for &mut KeyBundle<PublicParts, R>
where R: KeyRole,

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, SubordinateRole>
where P: KeyParts,

source§

fn from(p: KeyBundle<P, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, UnspecifiedRole>
where P: KeyParts,

source§

fn from(p: KeyBundle<P, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, PrimaryRole>
where P: KeyParts,

source§

fn from(p: KeyBundle<P, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, UnspecifiedRole>
where P: KeyParts,

source§

fn from(p: KeyBundle<P, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, PrimaryRole>
where P: KeyParts,

source§

fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, SubordinateRole>
where P: KeyParts,

source§

fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<UnspecifiedParts, R>
where R: KeyRole,

source§

fn from(p: KeyBundle<PublicParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<PublicParts, R>
where R: KeyRole,

source§

fn from(p: KeyBundle<SecretParts, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<UnspecifiedParts, R>
where R: KeyRole,

source§

fn from(p: KeyBundle<SecretParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>

source§

fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>

source§

fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self

Converts to this type from the input type.
source§

impl<R> From<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<PublicParts, R>
where R: KeyRole,

source§

fn from(p: KeyBundle<UnspecifiedParts, R>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>

source§

fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>

source§

fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>

source§

fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self

Converts to this type from the input type.
source§

impl TryFrom<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl<R> TryFrom<&ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<SecretParts, R>
where R: KeyRole,

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, R>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl<R> TryFrom<&ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<SecretParts, R>
where R: KeyRole,

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, R>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl<R> TryFrom<&mut ComponentBundle<Key<PublicParts, R>>> for &mut KeyBundle<SecretParts, R>
where R: KeyRole,

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, R>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl<R> TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, R>>> for &mut KeyBundle<SecretParts, R>
where R: KeyRole,

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: &mut KeyBundle<UnspecifiedParts, R>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from( p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>, ) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from( p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>, ) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from( p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>, ) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from( p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>, ) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl<R> TryFrom<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<SecretParts, R>
where R: KeyRole,

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, R>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>

Performs the conversion.
source§

impl<R> TryFrom<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<SecretParts, R>
where R: KeyRole,

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, R>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>

Performs the conversion.