[][src]Struct cerk::kernel::StartOptions

pub struct StartOptions {
    pub scheduler: ScheduleFnRefStatic,
    pub router: InternalServerFnRefStatic,
    pub config_loader: InternalServerFnRefStatic,
    pub ports: Vec<ScheduleInternalServerStatic>,
}

The start option for the Kernel. This struct defines the components that will be started with the scheduler.

Fields

scheduler: ScheduleFnRefStatic

the function to start the scheduler

router: InternalServerFnRefStatic

the function to start the router

config_loader: InternalServerFnRefStatic

the function to start the config loader

ports: Vec<ScheduleInternalServerStatic>

A vector of port ids and functions to start the ports. That could handle input, output or both. The type of port depends on the messages the components send and receive.

Auto Trait Implementations

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,