write_to_stream

Function write_to_stream 

Source
pub(super) async fn write_to_stream(
    writer: &mut WriteHalf<Box<dyn PtStream>>,
    object: &JsonResult,
) -> Result<()>
Expand description

Internal write function that writes a JSON-RPC object to the active stream.