1use crate::{Handler, Runtime};
2
3pub enum Resolve<'a, H: Handler> {
5 Create(H::CreateInterrupt, ResolveCreate<'a>),
7 Call(H::CallInterrupt, ResolveCall<'a>),
9}
10
11pub struct ResolveCreate<'a> {
13 _runtime: &'a mut Runtime,
14}
15
16impl<'a> ResolveCreate<'a> {
17 pub(crate) fn new(runtime: &'a mut Runtime) -> Self {
18 Self { _runtime: runtime }
19 }
20}
21
22pub struct ResolveCall<'a> {
24 _runtime: &'a mut Runtime,
25}
26
27impl<'a> ResolveCall<'a> {
28 pub(crate) fn new(runtime: &'a mut Runtime) -> Self {
29 Self { _runtime: runtime }
30 }
31}