Function write_datetime

Source
pub async fn write_datetime<W: AsyncWriteExt + Unpin>(
    w: &mut W,
    dt: DateTime<Utc>,
) -> Result<()>
Expand description

Write a DateTime (CppNix: time_t) from the stream, encoded as a unix timestamp.