Skip to main content

system_encode

Function system_encode 

Source
pub fn system_encode<T: Serialize>(value: &T) -> Result<Vec<u8>, SerializeError>
Expand description

System control payloads use the same bincode codec but a reserved serializer_id of SYSTEM_SERIALIZER_ID so receivers can dispatch them on the system path without consulting the user manifest table.