pub async fn write_datetime<W: AsyncWriteExt + Unpin>( w: &mut W, dt: DateTime<Utc>, ) -> Result<()>
Write a DateTime (CppNix: time_t) from the stream, encoded as a unix timestamp.