gear_core::ids::prelude

Trait ReservationIdExt

Source
pub trait ReservationIdExt: Sealed {
    // Required method
    fn generate(msg_id: MessageId, nonce: u64) -> Self;
}
Expand description

Reservation identifier extension.

Required Methods§

Source

fn generate(msg_id: MessageId, nonce: u64) -> Self

Generates ReservationId from given message and nonce.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§