pub fn entry_from_bytes_future<T>(
    k: &[u8],
    v: &[u8],
) -> impl Future<Item = (T::Key, T::Value), Error = Error>
where
    T: Table,
{
    future::result(entry_from_bytes::<T>(k, v))
}
/// The same as `entry_from_bytes` but produces the result within a future.
The same as `entry_from_bytes` but produces the result within a future.
The same as ` entry_from_bytes ` but produces the result within a future .
pub fn entry_from_bytes_future<T>(
    k: &[u8],
    v: &[u8],
) -> impl Future<Item = (T::Key, T::Value), Error = Error>
where
    T: Table,
{
    future::result(entry_from_bytes::<T>(k, v))
}
pub fn entry_from_bytes_future < T > ( k : & [ u8 ] , v : & [ u8 ] , ) -> impl Future < Item = ( T :: Key , T :: Value ) , Error = Error > where T : Table , { future :: result ( entry_from_bytes :: < T > ( k , v ) ) }
The same as `entry_from_bytes` but produces the result within a future.
The same as ` entry_from_bytes ` but produces the result within a future .
k
&[u8]
v
&[u8]
k
&[u8]
v
&[u8]