[−][src]Struct sequoia_openpgp::cert::bundle::ComponentBundle
A Cert component binding.
A Cert component is a primary key, a subkey, a user id, or a user attribute. A binding is a Cert component and any related signatures.
Implementations
impl<P, R> ComponentBundle<Key<KeyPart, KeyRole>> 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> ComponentBundle<Key<KeyPart, KeyRole>> 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
.
impl<C> ComponentBundle<C>
[src]
pub fn component(&self) -> &C
[src]
Returns a reference to the component.
pub fn binding_signature<T>(
&self,
policy: &dyn Policy,
t: T
) -> Result<&Signature> where
T: Into<Option<SystemTime>>,
[src]
&self,
policy: &dyn Policy,
t: T
) -> Result<&Signature> where
T: Into<Option<SystemTime>>,
Returns the active binding signature at time t
.
An active binding signature is a non-revoked, self-signature
that is alive at time t
(creation time <= t
, t < expiry
).
This function returns an error if there are no active binding
signatures at time t
, or there is one that did not match the
given policy.
pub fn self_signatures(&self) -> &[Signature]
[src]
The self-signatures.
The signatures are validated, and they are reverse sorted by their creation time (newest first).
pub fn certifications(&self) -> &[Signature]
[src]
Any third-party certifications.
The signatures are not validated. They are reverse sorted by their creation time (newest first).
pub fn self_revocations(&self) -> &[Signature]
[src]
Revocations issued by the key itself.
The revocations are validated, and they are reverse sorted by their creation time (newest first).
pub fn other_revocations(&self) -> &[Signature]
[src]
Revocations issued by other keys.
The revocations are not validated. They are reverse sorted by their creation time (newest first).
impl<P: KeyParts, R: KeyRole> ComponentBundle<Key<P, R>>
[src]
impl<P: KeyParts> ComponentBundle<Key<P, SubordinateRole>>
[src]
pub fn revoked<T>(&self, policy: &dyn Policy, t: T) -> RevocationStatus where
T: Into<Option<SystemTime>>,
[src]
T: Into<Option<SystemTime>>,
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.
impl ComponentBundle<UserID>
[src]
pub fn userid(&self) -> &UserID
[src]
Returns a reference to the User ID.
pub fn revoked<T>(&self, policy: &dyn Policy, t: T) -> RevocationStatus where
T: Into<Option<SystemTime>>,
[src]
T: Into<Option<SystemTime>>,
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
, or
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.
impl ComponentBundle<UserAttribute>
[src]
pub fn user_attribute(&self) -> &UserAttribute
[src]
Returns a reference to the User Attribute.
pub fn revoked<T>(&self, policy: &dyn Policy, t: T) -> RevocationStatus where
T: Into<Option<SystemTime>>,
[src]
T: Into<Option<SystemTime>>,
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
, or
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.
impl ComponentBundle<Unknown>
[src]
Trait Implementations
impl<C: Clone> Clone for ComponentBundle<C>
[src]
fn clone(&self) -> ComponentBundle<C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C: Debug> Debug for ComponentBundle<C>
[src]
impl<C> Deref for ComponentBundle<C>
[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<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<C: PartialEq> PartialEq<ComponentBundle<C>> for ComponentBundle<C>
[src]
fn eq(&self, other: &ComponentBundle<C>) -> bool
[src]
fn ne(&self, other: &ComponentBundle<C>) -> bool
[src]
impl<C> StructuralPartialEq for ComponentBundle<C>
[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,
Auto Trait Implementations
impl<C> RefUnwindSafe for ComponentBundle<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> Send for ComponentBundle<C> where
C: Send,
C: Send,
impl<C> Sync for ComponentBundle<C> where
C: Sync,
C: Sync,
impl<C> Unpin for ComponentBundle<C> where
C: Unpin,
C: Unpin,
impl<C> UnwindSafe for ComponentBundle<C> where
C: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,