pub fn entry_from_bytes<T>(k: &[u8], v: &[u8]) -> Result<(T::Key, T::Value)>
where
    T: Table,
{
    let key = bytekey::deserialize(k)?;
    let value = bincode::deserialize(v)?;
    Ok((key, value))
}
/// Deserialize the byte representation of an entry into its table types.
///
/// Assumes that the key *only* contains bytes of the serialized `T::Key` and is not prepended with
/// the `T::ID`..
Deserialize the byte representation of an entry into its table types.
Assumes that the key *only* contains bytes of the serialized `T::Key` and is not prepended with
the `T::ID`
Deserialize the byte representation of an entry into its table types . Assumes that the key * only * contains bytes of the serialized ` T :: Key ` and is not prepended with the ` T :: ID `
pub fn entry_from_bytes<T>(k: &[u8], v: &[u8]) -> Result<(T::Key, T::Value)>
where
    T: Table,
{
    let key = bytekey::deserialize(k)?;
    let value = bincode::deserialize(v)?;
    Ok((key, value))
}
pub fn entry_from_bytes < T > ( k : & [ u8 ] , v : & [ u8 ] ) -> Result < ( T :: Key , T :: Value ) > where T : Table , { let key = bytekey :: deserialize ( k ) ? ; let value = bincode :: deserialize ( v ) ? ; Ok ( ( key , value ) ) }
Deserialize the byte representation of an entry into its table types.
Deserialize the byte representation of an entry into its table types .
k
&[u8]
v
&[u8]
k
&[u8]
v
&[u8]