Function to_writer_with_options
Source pub fn to_writer_with_options<T: Serialize, W: Write>(
value: &T,
writer: &mut W,
options: &EncodeOptions,
) -> Result<(), Error>
Expand description
Serialize a value to a writer in TOON format with options
§Arguments
value - The value to serialize (must implement Serialize)
writer - The writer to write to
options - Encoding options
§Returns
A Result indicating success or failure