pub unsafe trait KernelAdjustTime: KernelBase {
    const RAW_TIME_USER_HEADROOM: Duration = Duration::from_secs(1);

    // Required method
    fn raw_adjust_time(delta: Duration) -> Result<(), AdjustTimeError>;
}
Expand description

Provides the adjust_time method.

Safety

See the Safety section of the module documentation.

Provided Associated Constants§

source

const RAW_TIME_USER_HEADROOM: Duration = Duration::from_secs(1)

Required Methods§

Implementors§