Type Definition 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.
Implementations§
source§impl<P, R> KeyBundle<P, R>where
P: KeyParts,
R: KeyRole,
impl<P, R> KeyBundle<P, R>where
P: KeyParts,
R: KeyRole,
sourcepub fn parts_into_public(self) -> KeyBundle<PublicParts, R>
pub fn parts_into_public(self) -> KeyBundle<PublicParts, R>
Changes the key’s parts tag to PublicParts.
sourcepub fn parts_as_public(&self) -> &KeyBundle<PublicParts, R>
pub fn parts_as_public(&self) -> &KeyBundle<PublicParts, R>
Changes the key’s parts tag to PublicParts.
sourcepub fn parts_into_secret(self) -> Result<KeyBundle<SecretParts, R>>
pub fn parts_into_secret(self) -> Result<KeyBundle<SecretParts, R>>
Changes the key’s parts tag to SecretParts.
sourcepub fn parts_as_secret(&self) -> Result<&KeyBundle<SecretParts, R>>
pub fn parts_as_secret(&self) -> Result<&KeyBundle<SecretParts, R>>
Changes the key’s parts tag to SecretParts.
sourcepub fn parts_into_unspecified(self) -> KeyBundle<UnspecifiedParts, R>
pub fn parts_into_unspecified(self) -> KeyBundle<UnspecifiedParts, R>
Changes the key’s parts tag to UnspecifiedParts.
sourcepub fn parts_as_unspecified(&self) -> &KeyBundle<UnspecifiedParts, R>
pub fn parts_as_unspecified(&self) -> &KeyBundle<UnspecifiedParts, R>
Changes the key’s parts tag to UnspecifiedParts.
source§impl<P, R> KeyBundle<P, R>where
P: KeyParts,
R: KeyRole,
impl<P, R> KeyBundle<P, R>where
P: KeyParts,
R: KeyRole,
sourcepub fn role_into_primary(self) -> KeyBundle<P, PrimaryRole>
pub fn role_into_primary(self) -> KeyBundle<P, PrimaryRole>
Changes the key’s role tag to PrimaryRole.
sourcepub fn role_as_primary(&self) -> &KeyBundle<P, PrimaryRole>
pub fn role_as_primary(&self) -> &KeyBundle<P, PrimaryRole>
Changes the key’s role tag to PrimaryRole.
sourcepub fn role_into_subordinate(self) -> KeyBundle<P, SubordinateRole>
pub fn role_into_subordinate(self) -> KeyBundle<P, SubordinateRole>
Changes the key’s role tag to SubordinateRole.
sourcepub fn role_as_subordinate(&self) -> &KeyBundle<P, SubordinateRole>
pub fn role_as_subordinate(&self) -> &KeyBundle<P, SubordinateRole>
Changes the key’s role tag to SubordinateRole.
sourcepub fn role_into_unspecified(self) -> KeyBundle<P, UnspecifiedRole>
pub fn role_into_unspecified(self) -> KeyBundle<P, UnspecifiedRole>
Changes the key’s role tag to UnspecifiedRole.
sourcepub fn role_as_unspecified(&self) -> &KeyBundle<P, UnspecifiedRole>
pub fn role_as_unspecified(&self) -> &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,
impl<P> From<&ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, SubordinateRole>where
P: KeyParts,
source§fn from(p: &KeyBundle<P, PrimaryRole>) -> Self
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,
impl<P> From<&ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, UnspecifiedRole>where
P: KeyParts,
source§fn from(p: &KeyBundle<P, PrimaryRole>) -> Self
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,
impl<P> From<&ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, PrimaryRole>where
P: KeyParts,
source§fn from(p: &KeyBundle<P, SubordinateRole>) -> Self
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,
impl<P> From<&ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, UnspecifiedRole>where
P: KeyParts,
source§fn from(p: &KeyBundle<P, SubordinateRole>) -> Self
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,
impl<P> From<&ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, PrimaryRole>where
P: KeyParts,
source§fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self
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,
impl<P> From<&ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, SubordinateRole>where
P: KeyParts,
source§fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self
fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
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, SubordinateRole>
impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
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>
impl From<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
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,
impl<R> From<&ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<UnspecifiedParts, R>where
R: KeyRole,
source§fn from(p: &KeyBundle<PublicParts, R>) -> Self
fn from(p: &KeyBundle<PublicParts, R>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
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, PrimaryRole>
impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
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, PrimaryRole>
impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
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,
impl<R> From<&ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<PublicParts, R>where
R: KeyRole,
source§fn from(p: &KeyBundle<SecretParts, R>) -> Self
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,
impl<R> From<&ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<UnspecifiedParts, R>where
R: KeyRole,
source§fn from(p: &KeyBundle<SecretParts, R>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
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>
impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl From<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
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,
impl<R> From<&ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<PublicParts, R>where
R: KeyRole,
source§fn from(p: &KeyBundle<UnspecifiedParts, R>) -> Self
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>
impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl From<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
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>
impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
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>
impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl From<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: &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,
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, SubordinateRole>where
P: KeyParts,
source§fn from(p: KeyBundle<P, PrimaryRole>) -> Self
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,
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, UnspecifiedRole>where
P: KeyParts,
source§fn from(p: KeyBundle<P, PrimaryRole>) -> Self
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,
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, PrimaryRole>where
P: KeyParts,
source§fn from(p: KeyBundle<P, SubordinateRole>) -> Self
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,
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, UnspecifiedRole>where
P: KeyParts,
source§fn from(p: KeyBundle<P, SubordinateRole>) -> Self
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,
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, PrimaryRole>where
P: KeyParts,
source§fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self
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,
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, SubordinateRole>where
P: KeyParts,
source§fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self
fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
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, SubordinateRole>
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
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>
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
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,
impl<R> From<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<UnspecifiedParts, R>where
R: KeyRole,
source§fn from(p: KeyBundle<PublicParts, R>) -> Self
fn from(p: KeyBundle<PublicParts, R>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
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, PrimaryRole>
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
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, PrimaryRole>
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
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,
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<PublicParts, R>where
R: KeyRole,
source§fn from(p: KeyBundle<SecretParts, R>) -> Self
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,
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<UnspecifiedParts, R>where
R: KeyRole,
source§fn from(p: KeyBundle<SecretParts, R>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
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>
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
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,
impl<R> From<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<PublicParts, R>where
R: KeyRole,
source§fn from(p: KeyBundle<UnspecifiedParts, R>) -> Self
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>
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
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>
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
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>
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.
source§impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
Converts to this type from the input type.