pub trait LineProtocolTimestamp {
// Required method
fn write_value_with_space(&self, buffer: &mut String);
}Expand description
Defines a type that can be written as a line protocol timestamp.
Required Methods§
Sourcefn write_value_with_space(&self, buffer: &mut String)
fn write_value_with_space(&self, buffer: &mut String)
Writes the value pair with a leading space.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl LineProtocolTimestamp for SystemTime
impl LineProtocolTimestamp for SystemTime
fn write_value_with_space(&self, buffer: &mut String)
Source§impl<Tz> LineProtocolTimestamp for DateTime<Tz>where
Tz: TimeZone,
Available on crate feature chrono only.
impl<Tz> LineProtocolTimestamp for DateTime<Tz>where
Tz: TimeZone,
Available on crate feature
chrono only.