[−][src]Struct rtlola_interpreter::Config
Config combines an RTLola specification in LolaIR form with an EvalConfig.
The evaluation configuration describes how the specification should be executed.
The Config can then be turned into a monitor for use via the API or simply executed.
Implementations
impl Config[src]
pub fn new_api(cfg: EvalConfig, ir: RTLolaIR) -> Config[src]
Creates a new Config which can then be turned into a Monitor by into_monitor.
pub fn new(args: &[String]) -> Self[src]
Parses command line arguments and return a Config if successful.
If the arguments are not valid, this function will print an error message and exit the process with value 1.
pub fn into_monitor(self) -> Result<Monitor, Box<dyn Error>>[src]
Turns a Config that was created through a call to new_api into a Monitor.
pub fn run(self) -> Result<Arc<OutputHandler>, Box<dyn Error>>[src]
Runs a Config that was created through a call to new.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config[src]
impl Send for Config[src]
impl Sync for Config[src]
impl Unpin for Config[src]
impl UnwindSafe for Config[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,