Skip to main content

encode_legacy_option_system_time

Function encode_legacy_option_system_time 

Source
pub fn encode_legacy_option_system_time<W: Write>(
    time: &Option<SystemTime>,
    writer: &mut W,
) -> Result<(), Error>
Expand description

Encodes an optional timestamp in the legacy SystemTime representation.

Existing encoded types use this only to preserve their stored representation.