Skip to main content

Crate flowcore

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
serializers to read definition files from various text formats based on file extension deserializer modules provides deserializers from different file formats
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
serializers
Serializers for writing flow model types to disk (TOML format) Serializers for flow model types to TOML format.
url_helper
Utility functions related to Urls

Macros§

flow_output
Return a flow function result with Ok((Some(value), RUN_AGAIN)).

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
The Implementation trait used by functions to provide the code that runs on inputs

Type Aliases§

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