Skip to main content

encode_server_value

Function encode_server_value 

Source
pub fn encode_server_value(value: ServerValue) -> Result<Frame, CodecError>
Expand description

Encodes one crate-produced semantic value into the existing generic frame.

ยงErrors

Returns the shared codec error if the typed value cannot be encoded.