Struct aws_smithy_async::time::StaticTimeSource
source · pub struct StaticTimeSource { /* private fields */ }
Expand description
Time source that always returns the same time
Implementations§
Trait Implementations§
source§impl Debug for StaticTimeSource
impl Debug for StaticTimeSource
source§fn from(value: StaticTimeSource) -> Self
fn from(value: StaticTimeSource) -> Self
Converts to this type from the input type.
source§impl TimeSource for StaticTimeSource
impl TimeSource for StaticTimeSource
source§fn now(&self) -> SystemTime
fn now(&self) -> SystemTime
Returns the current time
Auto Trait Implementations§
impl Freeze for StaticTimeSource
impl RefUnwindSafe for StaticTimeSource
impl Send for StaticTimeSource
impl Sync for StaticTimeSource
impl Unpin for StaticTimeSource
impl UnwindSafe for StaticTimeSource
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