time_primitives

Trait TasksInterface

Source
pub trait TasksInterface {
    // Required methods
    fn shard_online(shard_id: ShardId, network: NetworkId);
    fn shard_offline(shard_id: ShardId, network: NetworkId);
    fn gateway_registered(network: NetworkId, block: u64);
    fn network_removed(network: NetworkId);
}

Required Methods§

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§