cst_encode_StreamSink_log_entry_Dco method
- @protected
- RustStreamSink<
LogEntry> raw
Implementation
@protected
ffi.Pointer<wire_cst_list_prim_u_8_strict>
cst_encode_StreamSink_log_entry_Dco(RustStreamSink<LogEntry> raw) {
// Codec=Cst (C-struct based), see doc to use other codecs
return cst_encode_String(raw.setupAndSerialize(
codec: DcoCodec(
decodeSuccessData: dco_decode_log_entry,
decodeErrorData: dco_decode_AnyhowException,
)));
}