pub async fn server_send_error<A>(
    stream: &mut A,
    error: ServerError
) -> Result<()>where
    A: AsyncWriteExt + Unpin,