[][src]Function terminus_store::structure::vbyte::write_async

pub fn write_async<A>(
    dest: A,
    num: u64
) -> Box<dyn Future<Item = (A, usize), Error = Error> + Send> where
    A: 'static + AsyncWrite + Send

Encodes a u64 with a variable-byte encoding in a Vec and writes that Vec to the destination dest in a future.