cgp-runtime 0.3.0

Context-generic programming core component traits
Documentation
1
2
3
4
5
6
7
use cgp_core::Async;

use crate::HasRuntimeType;

pub trait HasAsyncRuntimeType: Async + HasRuntimeType<Runtime: Async> {}

impl<Context> HasAsyncRuntimeType for Context where Context: Async + HasRuntimeType<Runtime: Async> {}