Crate flowcore

Source
Expand description

flowcore defines core structs and traits used by other flow libraries and implementations

Modules§

content
contains the file and http content provider implementations Content provider trait. It defines methods for for getting content of flows from files, http or library references.
deserializers
a set of serializers to read definition files from various text formats based on file extension deserializer modules provides a number of deserializers from different formats and also help methods to get a deserializer based on the file extension of a file referred to by a Url
errors
contains Error that other modules in this crate will use errors::*; to get access to everything error_chain creates.
model
defines many of the core data structures used across libraries and binaries model module defines a number of core data structures that are used across the compiler and the runtime and macros.
provider
is a trait definition that providers of content must implement
url_helper
Utility functions related to Urls

Constants§

DONT_RUN_AGAIN
Use DONT_RUN_AGAIN to indicate that a function should not be executed more times
RUN_AGAIN
Use RUN_AGAIN to indicate that a function can be executed more times

Traits§

Implementation
A function’s implementation must implement this trait with a single run() method that takes as input an array of values and it returns a Result tuple with an Optional output Value plus a RunAgain indicating if it should be run again. i.e. it has not “completed”, in which case it should not be called again.

Type Aliases§

RunAgain
Implementations should return a value of type RunAgain to indicate if it should be executed more times in the future.