Trait time::formatting::formattable::sealed::Sealed
source · pub trait Sealed {
// Required method
fn format_into(
&self,
output: &mut impl Write,
date: Option<Date>,
time: Option<Time>,
offset: Option<UtcOffset>,
) -> Result<usize, Format>;
// Provided method
fn format(
&self,
date: Option<Date>,
time: Option<Time>,
offset: Option<UtcOffset>,
) -> Result<String, Format> { ... }
}
Expand description
Format the item using a format description, the intended output, and the various components.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.