Struct sequoia_openpgp::cert::bundle::ComponentBundle
source · pub struct ComponentBundle<C> { /* private fields */ }
Expand description
A certificate component and its associated signatures.
See the module level documentation for a detailed description.
Implementations§
source§impl<P, R> ComponentBundle<Key<P, R>>
impl<P, R> ComponentBundle<Key<P, R>>
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_as_public_mut(&mut self) -> &mut KeyBundle<PublicParts, R>
pub fn parts_as_public_mut(&mut self) -> &mut 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_as_secret_mut(&mut self) -> Result<&mut KeyBundle<SecretParts, R>>
pub fn parts_as_secret_mut(&mut self) -> Result<&mut 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
.
sourcepub fn parts_as_unspecified_mut(
&mut self,
) -> &mut KeyBundle<UnspecifiedParts, R>
pub fn parts_as_unspecified_mut( &mut self, ) -> &mut KeyBundle<UnspecifiedParts, R>
Changes the key’s parts tag to UnspecifiedParts
.
source§impl<P, R> ComponentBundle<Key<P, R>>
impl<P, R> ComponentBundle<Key<P, R>>
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_as_primary_mut(&mut self) -> &mut KeyBundle<P, PrimaryRole>
pub fn role_as_primary_mut(&mut self) -> &mut 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_as_subordinate_mut(&mut self) -> &mut KeyBundle<P, SubordinateRole>
pub fn role_as_subordinate_mut(&mut self) -> &mut 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
.
sourcepub fn role_as_unspecified_mut(&mut self) -> &mut KeyBundle<P, UnspecifiedRole>
pub fn role_as_unspecified_mut(&mut self) -> &mut KeyBundle<P, UnspecifiedRole>
Changes the key’s role tag to UnspecifiedRole
.
source§impl<C> ComponentBundle<C>
impl<C> ComponentBundle<C>
sourcepub fn component(&self) -> &C
pub fn component(&self) -> &C
Returns a reference to the bundle’s component.
§Examples
// Display some information about any unknown components.
for u in cert.unknowns() {
eprintln!(" - {:?}", u.component());
}
sourcepub fn binding_signature<T>(
&self,
policy: &dyn Policy,
t: T,
) -> Result<&Signature>
pub fn binding_signature<T>( &self, policy: &dyn Policy, t: T, ) -> Result<&Signature>
Returns the active binding signature at time t
.
The active binding signature is the most recent, non-revoked
self-signature that is valid according to the policy
and
alive at time t
(creation time <= t
, t < expiry
). If
there are multiple such signatures then the signatures are
ordered by their MPIs interpreted as byte strings.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display information about each User ID's current active
// binding signature (the `time` parameter is `None`), if any.
for ua in cert.userids() {
eprintln!("{:?}", ua.binding_signature(p, None));
}
sourcepub fn self_signatures2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn self_signatures2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s self-signatures.
The signatures are validated, and they are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for (i, ka) in cert.keys().enumerate() {
eprintln!("Key #{} ({}) has {:?} self signatures",
i, ka.fingerprint(),
ka.bundle().self_signatures2().count());
}
sourcepub fn self_signatures(&self) -> &[Signature]
👎Deprecated: Use self_signatures2 instead.
pub fn self_signatures(&self) -> &[Signature]
Returns the component’s self-signatures.
sourcepub fn certifications2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn certifications2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s third-party certifications.
The signatures are not validated. They are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for ua in cert.userids() {
eprintln!("User ID {} has {:?} unverified, third-party certifications",
String::from_utf8_lossy(ua.userid().value()),
ua.bundle().certifications2().count());
}
sourcepub fn certifications(&self) -> &[Signature]
👎Deprecated: Use certifications2 instead.
pub fn certifications(&self) -> &[Signature]
Returns the component’s third-party certifications.
sourcepub fn self_revocations2(
&self,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn self_revocations2( &self, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s revocations that were issued by the certificate holder.
The revocations are validated, and they are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for u in cert.userids() {
eprintln!("User ID {} has {:?} revocation certificates.",
String::from_utf8_lossy(u.userid().value()),
u.bundle().self_revocations2().count());
}
sourcepub fn self_revocations(&self) -> &[Signature]
👎Deprecated: Use self_revocations2 instead.
pub fn self_revocations(&self) -> &[Signature]
Returns the component’s revocations that were issued by the certificate holder.
sourcepub fn other_revocations2(
&self,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn other_revocations2( &self, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s revocations that were issued by other certificates.
The revocations are not validated. They are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for u in cert.userids() {
eprintln!("User ID {} has {:?} unverified, third-party revocation certificates.",
String::from_utf8_lossy(u.userid().value()),
u.bundle().other_revocations2().count());
}
sourcepub fn other_revocations(&self) -> &[Signature]
👎Deprecated: Use other_revocations2 instead.
pub fn other_revocations(&self) -> &[Signature]
Returns the component’s revocations that were issued by other certificates.
sourcepub fn attestations(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn attestations(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns all of the component’s Attestation Key Signatures.
This feature is experimental.
The signatures are validated, and they are sorted by their creation time, most recent first.
A certificate owner can use Attestation Key Signatures to attest to third party certifications. Currently, only userid and user attribute certifications can be attested. See Section 5.2.3.30 of RFC 4880bis for details.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for (i, uid) in cert.userids().enumerate() {
eprintln!("UserID #{} ({:?}) has {:?} attestation key signatures",
i, uid.email(),
uid.attestations().count());
}
sourcepub fn signatures(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn signatures(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns all of the component’s signatures.
Only the self-signatures are validated. The signatures are sorted first by type, then by creation time. The self revocations come first, then the self signatures, then any key attestation signatures, certifications, and third-party revocations coming last. This function may return additional types of signatures that could be associated to this component.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for (i, ka) in cert.keys().enumerate() {
eprintln!("Key #{} ({}) has {:?} signatures",
i, ka.fingerprint(),
ka.signatures().count());
}
source§impl<P: KeyParts, R: KeyRole> ComponentBundle<Key<P, R>>
impl<P: KeyParts, R: KeyRole> ComponentBundle<Key<P, R>>
sourcepub fn key(&self) -> &Key<P, R>
pub fn key(&self) -> &Key<P, R>
Returns a reference to the key.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the keys.
for ka in cert.keys() {
eprintln!(" - {:?}", ka.key());
}
source§impl<P: KeyParts> ComponentBundle<Key<P, SubordinateRole>>
impl<P: KeyParts> ComponentBundle<Key<P, SubordinateRole>>
sourcepub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T,
) -> RevocationStatus<'_>
pub fn revocation_status<T>( &self, policy: &dyn Policy, t: T, ) -> RevocationStatus<'_>
Returns the subkey’s revocation status at time t
.
A subkey is revoked at time t
if:
-
There is a live revocation at time
t
that is newer than all live self signatures at timet
, or -
There is a hard revocation (even if it is not live at time
t
, and even if there is a newer self-signature).
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this subkey is revoked; it does not imply anything about the Cert or other components.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display the subkeys' revocation status.
for ka in cert.keys().subkeys() {
eprintln!(" Revocation status of {}: {:?}",
ka.fingerprint(), ka.revocation_status(p, None));
}
source§impl ComponentBundle<UserID>
impl ComponentBundle<UserID>
sourcepub fn userid(&self) -> &UserID
pub fn userid(&self) -> &UserID
Returns a reference to the User ID.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the User IDs.
for ua in cert.userids() {
eprintln!(" - {:?}", ua.userid());
}
sourcepub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T,
) -> RevocationStatus<'_>
pub fn revocation_status<T>( &self, policy: &dyn Policy, t: T, ) -> RevocationStatus<'_>
Returns the User ID’s revocation status at time t
.
A User ID is revoked at time t
if:
- There is a live revocation at time
t
that is newer than all live self signatures at timet
.
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this User ID is revoked; it does not imply anything about the Cert or other components.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display the User IDs' revocation status.
for ua in cert.userids() {
eprintln!(" Revocation status of {}: {:?}",
String::from_utf8_lossy(ua.userid().value()),
ua.revocation_status(p, None));
}
source§impl ComponentBundle<UserAttribute>
impl ComponentBundle<UserAttribute>
sourcepub fn user_attribute(&self) -> &UserAttribute
pub fn user_attribute(&self) -> &UserAttribute
Returns a reference to the User Attribute.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the User Attributes
for ua in cert.user_attributes() {
eprintln!(" - {:?}", ua.user_attribute());
}
sourcepub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T,
) -> RevocationStatus<'_>
pub fn revocation_status<T>( &self, policy: &dyn Policy, t: T, ) -> RevocationStatus<'_>
Returns the User Attribute’s revocation status at time t
.
A User Attribute is revoked at time t
if:
- There is a live revocation at time
t
that is newer than all live self signatures at timet
.
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this User Attribute is revoked; it does not imply anything about the Cert or other components.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display the User Attributes' revocation status.
for (i, ua) in cert.user_attributes().enumerate() {
eprintln!(" Revocation status of User Attribute #{}: {:?}",
i, ua.revocation_status(p, None));
}
source§impl ComponentBundle<Unknown>
impl ComponentBundle<Unknown>
sourcepub fn unknown(&self) -> &Unknown
pub fn unknown(&self) -> &Unknown
Returns a reference to the unknown component.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the User Attributes
for u in cert.unknowns() {
eprintln!(" - {:?}", u.unknown());
}
Trait Implementations§
source§impl<C: Clone> Clone for ComponentBundle<C>
impl<C: Clone> Clone for ComponentBundle<C>
source§fn clone(&self) -> ComponentBundle<C>
fn clone(&self) -> ComponentBundle<C>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<C: Debug> Debug for ComponentBundle<C>
impl<C: Debug> Debug for ComponentBundle<C>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
source§impl<P> From<&mut ComponentBundle<Key<P, PrimaryRole>>> for &mut KeyBundle<P, SubordinateRole>where
P: KeyParts,
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
fn from(p: &mut KeyBundle<P, PrimaryRole>) -> Self
source§impl<P> From<&mut ComponentBundle<Key<P, PrimaryRole>>> for &mut KeyBundle<P, UnspecifiedRole>where
P: KeyParts,
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
fn from(p: &mut KeyBundle<P, PrimaryRole>) -> Self
source§impl<P> From<&mut ComponentBundle<Key<P, SubordinateRole>>> for &mut KeyBundle<P, PrimaryRole>where
P: KeyParts,
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
fn from(p: &mut KeyBundle<P, SubordinateRole>) -> Self
source§impl<P> From<&mut ComponentBundle<Key<P, SubordinateRole>>> for &mut KeyBundle<P, UnspecifiedRole>where
P: KeyParts,
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
fn from(p: &mut KeyBundle<P, SubordinateRole>) -> Self
source§impl<P> From<&mut ComponentBundle<Key<P, UnspecifiedRole>>> for &mut KeyBundle<P, PrimaryRole>where
P: KeyParts,
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
fn from(p: &mut KeyBundle<P, UnspecifiedRole>) -> Self
source§impl<P> From<&mut ComponentBundle<Key<P, UnspecifiedRole>>> for &mut KeyBundle<P, SubordinateRole>where
P: KeyParts,
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
fn from(p: &mut KeyBundle<P, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Self
source§impl From<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Self
source§impl<R> From<&mut ComponentBundle<Key<PublicParts, R>>> for &mut KeyBundle<UnspecifiedParts, R>where
R: KeyRole,
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
fn from(p: &mut KeyBundle<PublicParts, R>) -> Self
source§impl From<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<SecretParts, PrimaryRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, PrimaryRole>) -> Self
source§impl<R> From<&mut ComponentBundle<Key<SecretParts, R>>> for &mut KeyBundle<PublicParts, R>where
R: KeyRole,
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
fn from(p: &mut KeyBundle<SecretParts, R>) -> Self
source§impl<R> From<&mut ComponentBundle<Key<SecretParts, R>>> for &mut KeyBundle<UnspecifiedParts, R>where
R: KeyRole,
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
fn from(p: &mut KeyBundle<SecretParts, R>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<SecretParts, SubordinateRole>>> for &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &mut KeyBundle<UnspecifiedParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<SecretParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
source§impl From<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
fn from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Self
source§impl<R> From<&mut ComponentBundle<Key<UnspecifiedParts, R>>> for &mut KeyBundle<PublicParts, R>where
R: KeyRole,
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
fn from(p: &mut KeyBundle<UnspecifiedParts, R>) -> Self
source§impl From<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
impl From<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<PublicParts, UnspecifiedRole>
source§fn from(p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
fn from(p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>) -> Self
source§impl From<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
impl From<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, PrimaryRole>
source§fn from(p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
source§impl From<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
impl From<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<PublicParts, SubordinateRole>
source§fn from(p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
fn from(p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Self
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
source§impl<C: PartialEq> PartialEq for ComponentBundle<C>
impl<C: PartialEq> PartialEq for ComponentBundle<C>
source§fn eq(&self, other: &ComponentBundle<C>) -> bool
fn eq(&self, other: &ComponentBundle<C>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
source§impl<R> TryFrom<&ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<SecretParts, R>where
R: KeyRole,
impl<R> TryFrom<&ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<SecretParts, R>where
R: KeyRole,
source§impl TryFrom<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
fn try_from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
fn try_from(p: &KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: &KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
source§impl<R> TryFrom<&ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<SecretParts, R>where
R: KeyRole,
impl<R> TryFrom<&ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<SecretParts, R>where
R: KeyRole,
source§impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
fn try_from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
fn try_from(p: &KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: &KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&mut ComponentBundle<Key<PublicParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
source§impl<R> TryFrom<&mut ComponentBundle<Key<PublicParts, R>>> for &mut KeyBundle<SecretParts, R>where
R: KeyRole,
impl<R> TryFrom<&mut ComponentBundle<Key<PublicParts, R>>> for &mut KeyBundle<SecretParts, R>where
R: KeyRole,
source§impl TryFrom<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&mut ComponentBundle<Key<PublicParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&mut ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
fn try_from(p: &mut KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
source§impl<R> TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, R>>> for &mut KeyBundle<SecretParts, R>where
R: KeyRole,
impl<R> TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, R>>> for &mut KeyBundle<SecretParts, R>where
R: KeyRole,
source§impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(
p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>,
) -> Result<Self>
fn try_from( p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>, ) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &mut KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(
p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>,
) -> Result<Self>
fn try_from( p: &mut KeyBundle<UnspecifiedParts, SubordinateRole>, ) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(
p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>,
) -> Result<Self>
fn try_from( p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>, ) -> Result<Self>
source§impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<&mut ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &mut KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(
p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>,
) -> Result<Self>
fn try_from( p: &mut KeyBundle<UnspecifiedParts, UnspecifiedRole>, ) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
fn try_from(p: KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
fn try_from(p: KeyBundle<PublicParts, PrimaryRole>) -> Result<Self>
source§impl<R> TryFrom<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<SecretParts, R>where
R: KeyRole,
impl<R> TryFrom<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<SecretParts, R>where
R: KeyRole,
source§impl TryFrom<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
fn try_from(p: KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
fn try_from(p: KeyBundle<PublicParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: KeyBundle<PublicParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
fn try_from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
fn try_from(p: KeyBundle<UnspecifiedParts, PrimaryRole>) -> Result<Self>
source§impl<R> TryFrom<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<SecretParts, R>where
R: KeyRole,
impl<R> TryFrom<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<SecretParts, R>where
R: KeyRole,
source§impl TryFrom<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
fn try_from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
impl TryFrom<ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
source§fn try_from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
fn try_from(p: KeyBundle<UnspecifiedParts, SubordinateRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
impl TryFrom<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
source§fn try_from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
source§impl TryFrom<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
impl TryFrom<ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
source§fn try_from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
fn try_from(p: KeyBundle<UnspecifiedParts, UnspecifiedRole>) -> Result<Self>
source§impl<C> Deref for ComponentBundle<C>
impl<C> Deref for ComponentBundle<C>
impl<C> StructuralPartialEq for ComponentBundle<C>
Auto Trait Implementations§
impl<C> !Freeze for ComponentBundle<C>
impl<C> RefUnwindSafe for ComponentBundle<C>where
C: RefUnwindSafe,
impl<C> Send for ComponentBundle<C>where
C: Send,
impl<C> Sync for ComponentBundle<C>where
C: Sync,
impl<C> Unpin for ComponentBundle<C>where
C: Unpin,
impl<C> UnwindSafe for ComponentBundle<C>where
C: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)