pub struct OfflineMode<InputTime: TimeRepresentation> { /* private fields */ }
Expand description
Time is provided by the input source in the format defined by the TimeRepresentation.
Trait Implementations§
Source§impl<InputTime: Clone + TimeRepresentation> Clone for OfflineMode<InputTime>
impl<InputTime: Clone + TimeRepresentation> Clone for OfflineMode<InputTime>
Source§fn clone(&self) -> OfflineMode<InputTime>
fn clone(&self) -> OfflineMode<InputTime>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<InputTime: Debug + TimeRepresentation> Debug for OfflineMode<InputTime>
impl<InputTime: Debug + TimeRepresentation> Debug for OfflineMode<InputTime>
Source§impl<InputTime: Default + TimeRepresentation> Default for OfflineMode<InputTime>
impl<InputTime: Default + TimeRepresentation> Default for OfflineMode<InputTime>
Source§fn default() -> OfflineMode<InputTime>
fn default() -> OfflineMode<InputTime>
Returns the “default value” for a type. Read more
Source§impl<InputTime: TimeRepresentation> ExecutionMode for OfflineMode<InputTime>
impl<InputTime: TimeRepresentation> ExecutionMode for OfflineMode<InputTime>
Source§type SourceTime = InputTime
type SourceTime = InputTime
The TimeRepresentation used during execution.
Source§fn new(time: Self::SourceTime) -> Self
fn new(time: Self::SourceTime) -> Self
Creates a new ExecutionMode with initíalized Time.
Source§fn time_representation(&self) -> &Self::SourceTime
fn time_representation(&self) -> &Self::SourceTime
Returns the inner TimeRepresentation.
impl<InputTime: Copy + TimeRepresentation> Copy for OfflineMode<InputTime>
Auto Trait Implementations§
impl<InputTime> Freeze for OfflineMode<InputTime>where
InputTime: Freeze,
impl<InputTime> RefUnwindSafe for OfflineMode<InputTime>where
InputTime: RefUnwindSafe,
impl<InputTime> Send for OfflineMode<InputTime>
impl<InputTime> Sync for OfflineMode<InputTime>where
InputTime: Sync,
impl<InputTime> Unpin for OfflineMode<InputTime>where
InputTime: Unpin,
impl<InputTime> UnwindSafe for OfflineMode<InputTime>where
InputTime: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more