usealloc::{string::String,vec::Vec};useserde::de;/// A trait for encoding bytes into strings.
pubtraitEncoding{/// Encodes the byte sequence.
fnencode(bytes:&[u8])-> String;/// Decodes the byte sequence.
fndecode<E:de::Error>(string:&str)->Result<Vec<u8>, E>;}