pub type ErasedKeyAmalgamation<'a, P> = KeyAmalgamation<'a, P, UnspecifiedRole, bool>;
Expand description

An amalgamation whose role is not known at compile time.

A specialized version of KeyAmalgamation.

Unlike a Key or a KeyBundle with an unspecified role, an ErasedKeyAmalgamation remembers its role; it is just not exposed to the type system. For details, see the module-level documentation.

Implementations§

Changes the key’s parts tag to PublicParts.

Changes the key’s parts tag to PublicParts.

Changes the key’s parts tag to SecretParts.

Changes the key’s parts tag to SecretParts.

Changes the key’s parts tag to UnspecifiedParts.

Changes the key’s parts tag to UnspecifiedParts.

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Returns whether the key amalgamation is a primary key amalgamation. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned by with_policy. Read more
Uses the specified Policy and reference time with the amalgamation. Read more