pub trait ConversionTarget<S, SrcF = J2000s>: Sealedwhere
S: Scale,
SrcF: TimeFormat,{
type Output;
// Required method
fn try_convert(src: Time<S, SrcF>) -> Result<Self::Output, ConversionError>;
}Expand description
Unified conversion target for Time<S, F>::try_to::<T>().
Required Associated Types§
Required Methods§
fn try_convert(src: Time<S, SrcF>) -> Result<Self::Output, ConversionError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".