Struct follow_heating::time_util::mytime::RealTimeProvider
source · pub struct RealTimeProvider {}
Trait Implementations§
source§impl Default for RealTimeProvider
impl Default for RealTimeProvider
source§fn default() -> RealTimeProvider
fn default() -> RealTimeProvider
Returns the “default value” for a type. Read more
source§impl TimeProvider for RealTimeProvider
impl TimeProvider for RealTimeProvider
fn get_utc_time(&self) -> DateTime<Utc>
fn get_local_time(&self) -> DateTime<Local>
Auto Trait Implementations§
impl RefUnwindSafe for RealTimeProvider
impl Send for RealTimeProvider
impl Sync for RealTimeProvider
impl Unpin for RealTimeProvider
impl UnwindSafe for RealTimeProvider
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more