Skip to main content

LaunchIdentityExt

Trait LaunchIdentityExt 

Source
pub trait LaunchIdentityExt: Sized {
    // Required method
    fn generate() -> Result<Self, Error>;
}
Expand description

LaunchIdentity’s seeds, from the OS random pool.

Required Methods§

Source

fn generate() -> Result<Self, Error>

Fresh material from the OS random pool.

An all-zero draw isn’t reachable from a working pool. It’s still refused, because the protocol crate refuses a zero seed (a shared identity proves nothing), and this constructor must never hand out material the daemon would reject at bootstrap.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§