[][src]Trait sequoia_openpgp::cert::key_amalgamation::Primary

pub trait Primary<'a, P, R> where
    P: 'a + KeyParts,
    R: 'a + KeyRole
{ fn primary(&self) -> bool; }

Methods specific to key amalgamations.

Required methods

fn primary(&self) -> bool

Returns whether the key amalgamation is a primary key amalgamation.

Loading content...

Implementors

impl<'a, P> Primary<'a, P, PrimaryRole> for PrimaryKeyAmalgamation<'a, P> where
    P: 'a + KeyParts
[src]

impl<'a, P> Primary<'a, P, PrimaryRole> for ValidPrimaryKeyAmalgamation<'a, P> where
    P: 'a + KeyParts
[src]

impl<'a, P> Primary<'a, P, SubordinateRole> for SubordinateKeyAmalgamation<'a, P> where
    P: 'a + KeyParts
[src]

impl<'a, P> Primary<'a, P, SubordinateRole> for ValidSubordinateKeyAmalgamation<'a, P> where
    P: 'a + KeyParts
[src]

impl<'a, P> Primary<'a, P, UnspecifiedRole> for ErasedKeyAmalgamation<'a, P> where
    P: 'a + KeyParts
[src]

impl<'a, P> Primary<'a, P, UnspecifiedRole> for ValidErasedKeyAmalgamation<'a, P> where
    P: 'a + KeyParts
[src]

Loading content...