Skip to main content

IntoKeys

Trait IntoKeys 

Source
pub trait IntoKeys {
    // Required method
    fn into_keys(self) -> Vec<PublicKeys>;
}
Available on crate feature cs1 only.
Expand description

What a key lookup may return: one key, or the keys of a rollover.

The lookup open takes is a closure Fn(&InternetDomain, Role) -> Result<impl IntoKeys, KeyLookupError>; a body that verifies under any of the keys is accepted.

Required Methods§

Source

fn into_keys(self) -> Vec<PublicKeys>

The keys.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoKeys for &[PublicKeys]

Source§

impl IntoKeys for Vec<PublicKeys>

Source§

impl<const N: usize> IntoKeys for [PublicKeys; N]

Implementors§