[][src]Struct rtlola_interpreter::Config

pub struct Config { /* fields omitted */ }

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

impl Clone for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl !RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl !Unpin for Config

impl !UnwindSafe for Config

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.