pub trait CalendarDatetimeCreatorwhere
Self: Sized,{
// Required methods
fn from_ymd_hms(
year: i64,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: f32,
) -> Result<Self, Error>;
fn from_timestamp(timestamp: i64, nanoseconds: u32) -> Self;
}Required Methods§
fn from_ymd_hms( year: i64, month: u8, day: u8, hour: u8, minute: u8, second: f32, ) -> Result<Self, Error>
fn from_timestamp(timestamp: i64, nanoseconds: u32) -> Self
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.