Trait Platform
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§
type Identity: NodeIdentity
type Identity: NodeIdentity
Local identity implementation.
type Aes: AesProvider
type Aes: AesProvider
AES provider implementation.
type Sha: Sha256Provider
type Sha: Sha256Provider
SHA/HMAC provider implementation.
type Radio: Radio
type Radio: Radio
Radio implementation.
type Clock: Clock
type Clock: Clock
Monotonic clock implementation.
type CounterStore: CounterStore
type CounterStore: CounterStore
Persistent frame-counter store implementation.
type KeyValueStore: KeyValueStore
type KeyValueStore: KeyValueStore
General-purpose persistent key-value store implementation.
Implementors§
Source§impl<R, CS, KV> Platform for TokioPlatform<R, CS, KV>where
R: Radio,
CS: CounterStore,
KV: KeyValueStore,
Available on crate feature software-crypto only.
impl<R, CS, KV> Platform for TokioPlatform<R, CS, KV>where
R: Radio,
CS: CounterStore,
KV: KeyValueStore,
Available on crate feature
software-crypto only.Source§impl<R, G, CS, KV> Platform for EmbassyPlatform<R, G, CS, KV>where
R: Radio,
G: CryptoRng,
CS: CounterStore,
KV: KeyValueStore,
Available on crate feature software-crypto only.
impl<R, G, CS, KV> Platform for EmbassyPlatform<R, G, CS, KV>where
R: Radio,
G: CryptoRng,
CS: CounterStore,
KV: KeyValueStore,
Available on crate feature
software-crypto only.