Skip to content

Instantly share code, notes, and snippets.

@tailhook
Last active January 2, 2016 23:41
Show Gist options
  • Select an option

  • Save tailhook/932d4073afc2f3102e07 to your computer and use it in GitHub Desktop.

Select an option

Save tailhook/932d4073afc2f3102e07 to your computer and use it in GitHub Desktop.
impl<M: Sized, N:Sized> Response<M, N> {
pub fn ok(machine: M) -> Response<M, N>;
pub fn spawn(machine: M, result: N) -> Response<M, N>;
pub fn done() -> Response<M, N>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment