pub trait TimeProvider: Debug {
// Required methods
fn get_current_date(&self) -> Date;
fn get_current_date_time(&self) -> DateTime;
}
Expand description
A current time and date provider.
Provides a custom implementation for a time resolution used when updating directory entry time fields.
TimeProvider
is specified by the time_provider
property in FsOptions
struct.