[−][src]Type Definition sequoia_openpgp::cert::bundle::KeyBundle
type KeyBundle<KeyPart, KeyRole> = ComponentBundle<Key<KeyPart, KeyRole>>;
A key (primary or subkey, public or private) and any associated signatures.
Implementations
impl<P, R> KeyBundle<P, R> where
P: KeyParts,
R: KeyRole,
[src]
P: KeyParts,
R: KeyRole,
pub fn parts_into_public(self) -> KeyBundle<PublicParts, R>
[src]
Changes the key's parts tag to PublicParts
.
pub fn parts_as_public(&self) -> &KeyBundle<PublicParts, R>
[src]
Changes the key's parts tag to PublicParts
.
pub fn parts_into_secret(self) -> Result<KeyBundle<SecretParts, R>>
[src]
Changes the key's parts tag to SecretParts
.
pub fn parts_as_secret(&self) -> Result<&KeyBundle<SecretParts, R>>
[src]
Changes the key's parts tag to SecretParts
.
pub fn parts_into_unspecified(self) -> KeyBundle<UnspecifiedParts, R>
[src]
Changes the key's parts tag to UnspecifiedParts
.
pub fn parts_as_unspecified(&self) -> &KeyBundle<UnspecifiedParts, R>
[src]
Changes the key's parts tag to UnspecifiedParts
.
impl<P, R> KeyBundle<P, R> where
P: KeyParts,
R: KeyRole,
[src]
P: KeyParts,
R: KeyRole,
pub fn mark_role_primary(self) -> KeyBundle<P, PrimaryRole>
[src]
Changes the key's role tag to PrimaryRole
.
pub fn mark_role_primary_ref(&self) -> &KeyBundle<P, PrimaryRole>
[src]
Changes the key's role tag to PrimaryRole
.
pub fn mark_role_subordinate(self) -> KeyBundle<P, SubordinateRole>
[src]
Changes the key's role tag to SubordinateRole
.
pub fn mark_role_subordinate_ref(&self) -> &KeyBundle<P, SubordinateRole>
[src]
Changes the key's role tag to SubordinateRole
.
pub fn mark_role_unspecified(self) -> KeyBundle<P, UnspecifiedRole>
[src]
Changes the key's role tag to UnspecifiedRole
.
pub fn mark_role_unspecified_ref(&self) -> &KeyBundle<P, UnspecifiedRole>
[src]
Changes the key's role tag to UnspecifiedRole
.
Trait Implementations
impl<'_, '_, P> From<&'_ ComponentBundle<Key<P, PrimaryRole>>> for &'_ KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBundle<P, PrimaryRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBundle<Key<P, PrimaryRole>>> for &'_ KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBundle<P, PrimaryRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBundle<Key<P, SubordinateRole>>> for &'_ KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBundle<P, SubordinateRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBundle<Key<P, SubordinateRole>>> for &'_ KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBundle<P, SubordinateRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBundle<Key<P, UnspecifiedRole>>> for &'_ KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBundle<Key<P, UnspecifiedRole>>> for &'_ KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBundle<P, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &'_ KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &'_ KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &'_ KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &'_ KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBundle<Key<PublicParts, R>>> for &'_ KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBundle<PublicParts, R>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &'_ KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &'_ KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &'_ KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &'_ KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &'_ KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &'_ KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &'_ KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &'_ KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBundle<Key<SecretParts, R>>> for &'_ KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBundle<SecretParts, R>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBundle<Key<SecretParts, R>>> for &'_ KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBundle<SecretParts, R>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &'_ KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &'_ KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &'_ KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &'_ KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBundle<Key<UnspecifiedParts, R>>> for &'_ KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBundle<UnspecifiedParts, R>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBundle<P, PrimaryRole>) -> Self
[src]
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBundle<P, PrimaryRole>) -> Self
[src]
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBundle<P, SubordinateRole>) -> Self
[src]
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBundle<P, SubordinateRole>) -> Self
[src]
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self
[src]
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBundle<P, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<PublicParts, PrimaryRole>) -> Self
[src]
impl<R> From<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBundle<PublicParts, R>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<SecretParts, PrimaryRole>) -> Self
[src]
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBundle<SecretParts, R>) -> Self
[src]
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBundle<SecretParts, R>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBundle<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<R> From<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBundle<UnspecifiedParts, R>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_, R> TryFrom<&'_ ComponentBundle<Key<PublicParts, R>>> for &'_ KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
R: KeyRole,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(p: &KeyBundle<PublicParts, R>) -> Result<Self>
[src]
impl<'_, '_, R> TryFrom<&'_ ComponentBundle<Key<UnspecifiedParts, R>>> for &'_ KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
R: KeyRole,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(p: &KeyBundle<UnspecifiedParts, R>) -> Result<Self>
[src]
impl<R> TryFrom<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
R: KeyRole,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(p: KeyBundle<PublicParts, R>) -> Result<Self>
[src]
impl<R> TryFrom<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
R: KeyRole,