Platform

Trait Platform 

Source
pub trait Platform {
    type Identity: NodeIdentity;
    type Aes: AesProvider;
    type Sha: Sha256Provider;
    type Radio: Radio;
    type Delay: DelayNs;
    type Clock: Clock;
    type Rng: CryptoRng;
    type CounterStore: CounterStore;
    type KeyValueStore: KeyValueStore;
}
Expand description

Bundle of platform-specific associated types used by the higher layers.

Required Associated Types§

Source

type Identity: NodeIdentity

Local identity implementation.

Source

type Aes: AesProvider

AES provider implementation.

Source

type Sha: Sha256Provider

SHA/HMAC provider implementation.

Source

type Radio: Radio

Radio implementation.

Source

type Delay: DelayNs

Async delay implementation.

Source

type Clock: Clock

Monotonic clock implementation.

Source

type Rng: CryptoRng

Random-number generator implementation.

Source

type CounterStore: CounterStore

Persistent frame-counter store implementation.

Source

type KeyValueStore: KeyValueStore

General-purpose persistent key-value store implementation.

Implementors§