pub trait TcatSectionSerdes<T> {
const MIN_SIZE: usize;
const ERROR_TYPE: GeneralProtocolError;
// Required methods
fn serialize(params: &T, raw: &mut [u8]) -> Result<(), String>;
fn deserialize(params: &mut T, raw: &[u8]) -> Result<(), String>;
}Expand description
Serializer and deserializer for parameters in TCAT section.
Required Associated Constants§
sourceconst ERROR_TYPE: GeneralProtocolError
const ERROR_TYPE: GeneralProtocolError
The type of error.
Required Methods§
Object Safety§
This trait is not object safe.