Struct rtlola_interpreter::time::DelayTime
source · pub struct DelayTime { /* private fields */ }Expand description
Time is set to be a fixed delay between input events. The time given is ignored, and the fixed delay is applied.
Implementations§
Trait Implementations§
source§impl TimeMode for DelayTime
impl TimeMode for DelayTime
source§fn requires_timestamp() -> bool
fn requires_timestamp() -> bool
Returns whether the time TimeRepresentation require an explicit timestamp
source§impl TimeRepresentation for DelayTime
impl TimeRepresentation for DelayTime
source§fn convert_from(&mut self, _inner: Self::InnerTime) -> Time
fn convert_from(&mut self, _inner: Self::InnerTime) -> Time
Convert from the internal time representation to the monitor time.
source§fn convert_into(&self, _ts: Time) -> Self::InnerTime
fn convert_into(&self, _ts: Time) -> Self::InnerTime
Convert from monitor time to the internal representation.
source§fn parse(_s: &str) -> Result<(), String>
fn parse(_s: &str) -> Result<(), String>
Parse the internal representation from a string and convert it into monitor time.
source§fn to_string(&self, _ts: Self::InnerTime) -> String
fn to_string(&self, _ts: Self::InnerTime) -> String
Convert the internal representation into a string.
source§fn default_start_time() -> Option<SystemTime>
fn default_start_time() -> Option<SystemTime>
Returns a default start time if applicable for the time representation.