pub struct FutureInterpreter<A, F, S, Tr> { /* private fields */ }
Implementations§
Source§impl<A, F, S, Tr> FutureInterpreter<A, F, S, Tr>
impl<A, F, S, Tr> FutureInterpreter<A, F, S, Tr>
pub fn new<Fn, Fu>(state: S, retbuf: Vec<u8>, f: Fn) -> Selfwhere
Fn: FnOnce(Rc<FutureInterpreterSubmit<A, F>>) -> Fu,
Fu: Future<Output = ExitResult> + 'static,
Trait Implementations§
Source§impl<Feedback, A, F, S, H, Tr> FeedbackInterpreter<H, Feedback> for FutureInterpreter<A, F, S, Tr>where
F: 'static,
A: FutureInterpreterAction<S, H, Feedback = F> + 'static,
Tr: From<A::Trap>,
Feedback: Into<A::Feedback>,
impl<Feedback, A, F, S, H, Tr> FeedbackInterpreter<H, Feedback> for FutureInterpreter<A, F, S, Tr>where
F: 'static,
A: FutureInterpreterAction<S, H, Feedback = F> + 'static,
Tr: From<A::Trap>,
Feedback: Into<A::Feedback>,
Source§impl<A, F, S, H, Tr> Interpreter<H> for FutureInterpreter<A, F, S, Tr>
impl<A, F, S, H, Tr> Interpreter<H> for FutureInterpreter<A, F, S, Tr>
Auto Trait Implementations§
impl<A, F, S, Tr> Freeze for FutureInterpreter<A, F, S, Tr>where
S: Freeze,
impl<A, F, S, Tr> !RefUnwindSafe for FutureInterpreter<A, F, S, Tr>
impl<A, F, S, Tr> !Send for FutureInterpreter<A, F, S, Tr>
impl<A, F, S, Tr> !Sync for FutureInterpreter<A, F, S, Tr>
impl<A, F, S, Tr> Unpin for FutureInterpreter<A, F, S, Tr>
impl<A, F, S, Tr> !UnwindSafe for FutureInterpreter<A, F, S, Tr>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more