use std::pin;
use dope_core::driver::{route, schedule};
use crate::app::dispatch;
pub unsafe trait Activate<'d, R: route::App> {
type Access;
unsafe fn activate<'turn>(
self: pin::Pin<&mut Self>,
target: route::Target<'d, R>,
turn: schedule::Turn<'turn, 'd>,
driver: &mut dispatch::raw::Context<'_, 'd, Self::Access>,
);
}