pub async fn write_response<W: AsyncWrite + Unpin>(
writer: &mut W,
resp: &Response,
) -> Result<(), ProtocolError>Expand description
Serialize and write one Response.
pub async fn write_response<W: AsyncWrite + Unpin>(
writer: &mut W,
resp: &Response,
) -> Result<(), ProtocolError>Serialize and write one Response.