[][src]Trait pgcopy::types::Time

pub trait Time {
    fn to_writer<W: Write>(&self, writer: &mut W) -> Result<()>;
}

Trait for time type implementations.

Implementors should write:

  1. signed 4 bytes of the following data length, value is required to be 8
  2. signed 8 bytes of the date, expressed as a microseconds amount starting from the 00:00:00.

Required methods

fn to_writer<W: Write>(&self, writer: &mut W) -> Result<()>

Loading content...

Implementors

impl<T> Time for T where
    T: Timelike
[src]

Loading content...