Skip to main content

write_frame

Function write_frame 

Source
pub async fn write_frame<T>(
    writer: &mut (impl AsyncWrite + Unpin),
    value: &T,
) -> Result<()>
where T: Serialize,
Expand description

Writes one bounded length-prefixed JSON value.