Skip to content

Instantly share code, notes, and snippets.

use failure::Error;
use futures::{Async, Future, Poll};
use std::time::{Duration, Instant};
use tokio::runtime::Runtime;
use tokio::timer::Delay;
#[macro_use]
extern crate futures;
struct Node {