pub trait Time {
// Required method
fn to_writer<W: Write>(&self, writer: &mut W) -> Result<()>;
}
Expand description
Trait for time
type implementations.
Implementors should write:
- signed 4 bytes of the following data length, value is required to be
8
- signed 8 bytes of the date, expressed as a microseconds amount starting from the
00:00:00
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.