[−][src]Type Definition sequoia_openpgp::cert::KeyBinding
type KeyBinding<KeyPart, KeyRole> = ComponentBinding<Key<KeyPart, KeyRole>>;
A key (primary or subkey, public or private) and any associated signatures.
Methods
impl<P, R> KeyBinding<P, R> where
P: KeyParts,
R: KeyRole,
[src]
P: KeyParts,
R: KeyRole,
pub fn mark_parts_public(self) -> KeyBinding<PublicParts, R>
[src]
Changes the key's parts tag to PublicParts
.
pub fn mark_parts_public_ref(&self) -> &KeyBinding<PublicParts, R>
[src]
Changes the key's parts tag to PublicParts
.
pub fn mark_parts_secret(self) -> Result<KeyBinding<SecretParts, R>>
[src]
Changes the key's parts tag to SecretParts
.
pub fn mark_parts_secret_ref(&self) -> Result<&KeyBinding<SecretParts, R>>
[src]
Changes the key's parts tag to SecretParts
.
pub fn mark_parts_unspecified(self) -> KeyBinding<UnspecifiedParts, R>
[src]
Changes the key's parts tag to UnspecifiedParts
.
pub fn mark_parts_unspecified_ref(&self) -> &KeyBinding<UnspecifiedParts, R>
[src]
Changes the key's parts tag to UnspecifiedParts
.
impl<P, R> KeyBinding<P, R> where
P: KeyParts,
R: KeyRole,
[src]
P: KeyParts,
R: KeyRole,
pub fn mark_role_primary(self) -> KeyBinding<P, PrimaryRole>
[src]
Changes the key's role tag to PrimaryRole
.
pub fn mark_role_primary_ref(&self) -> &KeyBinding<P, PrimaryRole>
[src]
Changes the key's role tag to PrimaryRole
.
pub fn mark_role_subordinate(self) -> KeyBinding<P, SubordinateRole>
[src]
Changes the key's role tag to SubordinateRole
.
pub fn mark_role_subordinate_ref(&self) -> &KeyBinding<P, SubordinateRole>
[src]
Changes the key's role tag to SubordinateRole
.
pub fn mark_role_unspecified(self) -> KeyBinding<P, UnspecifiedRole>
[src]
Changes the key's role tag to UnspecifiedRole
.
pub fn mark_role_unspecified_ref(&self) -> &KeyBinding<P, UnspecifiedRole>
[src]
Changes the key's role tag to UnspecifiedRole
.
Trait Implementations
impl<'_, '_, P> From<&'_ ComponentBinding<Key<P, PrimaryRole>>> for &'_ KeyBinding<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBinding<P, PrimaryRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBinding<Key<P, PrimaryRole>>> for &'_ KeyBinding<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBinding<P, PrimaryRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBinding<Key<P, SubordinateRole>>> for &'_ KeyBinding<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBinding<P, SubordinateRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBinding<Key<P, SubordinateRole>>> for &'_ KeyBinding<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBinding<P, SubordinateRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBinding<Key<P, UnspecifiedRole>>> for &'_ KeyBinding<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBinding<P, UnspecifiedRole>) -> Self
[src]
impl<'_, '_, P> From<&'_ ComponentBinding<Key<P, UnspecifiedRole>>> for &'_ KeyBinding<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: &KeyBinding<P, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, PrimaryRole>>> for &'_ KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, PrimaryRole>>> for &'_ KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, PrimaryRole>>> for &'_ KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, PrimaryRole>>> for &'_ KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBinding<Key<PublicParts, R>>> for &'_ KeyBinding<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBinding<PublicParts, R>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, SubordinateRole>>> for &'_ KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, SubordinateRole>>> for &'_ KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, SubordinateRole>>> for &'_ KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, SubordinateRole>>> for &'_ KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for &'_ KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, PrimaryRole>>> for &'_ KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, PrimaryRole>>> for &'_ KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, PrimaryRole>>> for &'_ KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, PrimaryRole>>> for &'_ KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBinding<Key<SecretParts, R>>> for &'_ KeyBinding<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBinding<SecretParts, R>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBinding<Key<SecretParts, R>>> for &'_ KeyBinding<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBinding<SecretParts, R>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, SubordinateRole>>> for &'_ KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, SubordinateRole>>> for &'_ KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, SubordinateRole>>> for &'_ KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, SubordinateRole>>> for &'_ KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for &'_ KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for &'_ KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<'_, '_, R> From<&'_ ComponentBinding<Key<UnspecifiedParts, R>>> for &'_ KeyBinding<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: &KeyBinding<UnspecifiedParts, R>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for &'_ KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_> From<&'_ ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for &'_ KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: &KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<P> From<ComponentBinding<Key<P, PrimaryRole>>> for KeyBinding<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBinding<P, PrimaryRole>) -> Self
[src]
impl<P> From<ComponentBinding<Key<P, PrimaryRole>>> for KeyBinding<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBinding<P, PrimaryRole>) -> Self
[src]
impl<P> From<ComponentBinding<Key<P, SubordinateRole>>> for KeyBinding<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBinding<P, SubordinateRole>) -> Self
[src]
impl<P> From<ComponentBinding<Key<P, SubordinateRole>>> for KeyBinding<P, UnspecifiedRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBinding<P, SubordinateRole>) -> Self
[src]
impl<P> From<ComponentBinding<Key<P, UnspecifiedRole>>> for KeyBinding<P, PrimaryRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBinding<P, UnspecifiedRole>) -> Self
[src]
impl<P> From<ComponentBinding<Key<P, UnspecifiedRole>>> for KeyBinding<P, SubordinateRole> where
P: KeyParts,
[src]
P: KeyParts,
fn from(p: KeyBinding<P, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, PrimaryRole>>> for KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, PrimaryRole>>> for KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, PrimaryRole>>> for KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, PrimaryRole>>> for KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<PublicParts, PrimaryRole>) -> Self
[src]
impl<R> From<ComponentBinding<Key<PublicParts, R>>> for KeyBinding<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBinding<PublicParts, R>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, SubordinateRole>>> for KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, SubordinateRole>>> for KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, SubordinateRole>>> for KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, SubordinateRole>>> for KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<PublicParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<PublicParts, UnspecifiedRole>>> for KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBinding<PublicParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, PrimaryRole>>> for KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, PrimaryRole>>> for KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, PrimaryRole>>> for KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, PrimaryRole>>> for KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<SecretParts, PrimaryRole>) -> Self
[src]
impl<R> From<ComponentBinding<Key<SecretParts, R>>> for KeyBinding<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBinding<SecretParts, R>) -> Self
[src]
impl<R> From<ComponentBinding<Key<SecretParts, R>>> for KeyBinding<UnspecifiedParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBinding<SecretParts, R>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, SubordinateRole>>> for KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, SubordinateRole>>> for KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, SubordinateRole>>> for KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, SubordinateRole>>> for KeyBinding<UnspecifiedParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<SecretParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for KeyBinding<UnspecifiedParts, PrimaryRole>
[src]
fn from(p: KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<SecretParts, UnspecifiedRole>>> for KeyBinding<UnspecifiedParts, SubordinateRole>
[src]
fn from(p: KeyBinding<SecretParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, PrimaryRole>>> for KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, PrimaryRole>) -> Self
[src]
impl<R> From<ComponentBinding<Key<UnspecifiedParts, R>>> for KeyBinding<PublicParts, R> where
R: KeyRole,
[src]
R: KeyRole,
fn from(p: KeyBinding<UnspecifiedParts, R>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for KeyBinding<PublicParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, SubordinateRole>>> for KeyBinding<SecretParts, UnspecifiedRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, SubordinateRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBinding<PublicParts, PrimaryRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBinding<PublicParts, SubordinateRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBinding<SecretParts, PrimaryRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl From<ComponentBinding<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBinding<SecretParts, SubordinateRole>
[src]
fn from(p: KeyBinding<UnspecifiedParts, UnspecifiedRole>) -> Self
[src]
impl<'_, '_, R> TryFrom<&'_ ComponentBinding<Key<PublicParts, R>>> for &'_ KeyBinding<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: &KeyBinding<PublicParts, R>) -> Result<Self>
[src]
impl<'_, '_, R> TryFrom<&'_ ComponentBinding<Key<UnspecifiedParts, R>>> for &'_ KeyBinding<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: &KeyBinding<UnspecifiedParts, R>) -> Result<Self>
[src]
impl<R> TryFrom<ComponentBinding<Key<PublicParts, R>>> for KeyBinding<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: KeyBinding<PublicParts, R>) -> Result<Self>
[src]
impl<R> TryFrom<ComponentBinding<Key<UnspecifiedParts, R>>> for KeyBinding<SecretParts, R> where
R: KeyRole,
[src]
R: KeyRole,
type Error = Error
The type returned in the event of a conversion error.