[][src]Function ghost_actor::resp

pub fn resp<R, E, F>(f: F) -> GhostFuture<R, E>

Notable traits for GhostFuture<R, E>

impl<R, E> Future for GhostFuture<R, E> where
    E: 'static + From<GhostError> + Send
type Output = Result<R, E>;
where
    E: 'static + From<GhostError> + Send,
    F: 'static + Future<Output = Result<R, E>> + Send

Wrap another compatible future in an GhostFuture.