Type Alias Messages

Source
pub type Messages = EngineMessage<Sender<WatchMessage>>;
Expand description

The concrete type for the engine messages

Aliased Type§

pub enum Messages {
Show 26 variants AddBlockReq(Uuid, String, Option<String>, Option<String>), AddBlockRes(Result<Uuid, String>), RemoveBlockReq(Uuid, Uuid), RemoveBlockRes(Result<Uuid, String>), WatchBlockSubReq(Uuid, Sender<WatchMessage>), WatchBlockSubRes(Result<Uuid, &'static str>), WriteBlockOutputReq(Uuid, Uuid, String, Value), WriteBlockOutputRes(Result<Value, String>), WriteBlockInputReq(Uuid, Uuid, String, Value), WriteBlockInputRes(Result<Option<Value>, String>), WatchBlockUnsubReq(Uuid), WatchBlockUnsubRes(Result<Uuid, &'static str>), GetCurrentProgramReq(Uuid), GetCurrentProgramRes(Result<(Vec<BlockData>, Vec<LinkData>), String>), InspectBlockReq(Uuid, Uuid), InspectBlockRes(Result<BlockDefinition, String>), EvaluateBlockReq(Uuid, String, Vec<Value>, Option<String>), EvaluateBlockRes(Result<Vec<Value>, String>), ConnectBlocksReq(Uuid, LinkData), ConnectBlocksRes(Result<LinkData, String>), RemoveLinkReq(Uuid, Uuid), RemoveLinkRes(Result<bool, String>), Shutdown, Pause, Resume, Reset,
}

Variants§

§

AddBlockReq(Uuid, String, Option<String>, Option<String>)

§

AddBlockRes(Result<Uuid, String>)

§

RemoveBlockReq(Uuid, Uuid)

§

RemoveBlockRes(Result<Uuid, String>)

§

WatchBlockSubReq(Uuid, Sender<WatchMessage>)

§

WatchBlockSubRes(Result<Uuid, &'static str>)

§

WriteBlockOutputReq(Uuid, Uuid, String, Value)

§

WriteBlockOutputRes(Result<Value, String>)

§

WriteBlockInputReq(Uuid, Uuid, String, Value)

§

WriteBlockInputRes(Result<Option<Value>, String>)

§

WatchBlockUnsubReq(Uuid)

§

WatchBlockUnsubRes(Result<Uuid, &'static str>)

§

GetCurrentProgramReq(Uuid)

§

GetCurrentProgramRes(Result<(Vec<BlockData>, Vec<LinkData>), String>)

§

InspectBlockReq(Uuid, Uuid)

§

InspectBlockRes(Result<BlockDefinition, String>)

§

EvaluateBlockReq(Uuid, String, Vec<Value>, Option<String>)

§

EvaluateBlockRes(Result<Vec<Value>, String>)

§

ConnectBlocksReq(Uuid, LinkData)

§

ConnectBlocksRes(Result<LinkData, String>)

§

RemoveLinkReq(Uuid, Uuid)

§

RemoveLinkRes(Result<bool, String>)

§

Shutdown

§

Pause

§

Resume

§

Reset