pub fn write_id_future<I>(id: &I) -> impl Future<Item = Vec<u8>, Error = Error>
where
    I: Serialize,
{
    future::result(write_id(id))
}
/// Serialize the given table ID to its byte representation, returning the result via a future.
Serialize the given table ID to its byte representation, returning the result via a future.
Serialize the given table ID to its byte representation returning the result via a future .
pub fn write_id_future<I>(id: &I) -> impl Future<Item = Vec<u8>, Error = Error>
where
    I: Serialize,
{
    future::result(write_id(id))
}
pub fn write_id_future < I > ( id : & I ) -> impl Future < Item = Vec < u8 > , Error = Error > where I : Serialize , { future :: result ( write_id ( id ) ) }
Serialize the given table ID to its byte representation, returning the result via a future.
Serialize the given table ID to its byte representation returning the result via a future .
id
&I
id
&I