//! Internal helpers shared across the Redis store implementations.
usecore::fmt::Write as_;/// Lower-case hex-encode a 16-byte id for use as part of a Redis key.
pub(crate)fnhex16(bytes:&[u8; 16])-> String{letmut out =String::with_capacity(32);for byte in bytes {// Writing to a `String` is infallible.
let_=write!(out,"{byte:02x}");}
out
}