//! Transports are used to serve stateful functions to make them invokable.
usecrate::function_registry::FunctionRegistry;pubmodhyper;/// Serves up stateful functions in a [FunctionRegistry](crate::FunctionRegistry) to make them
/// invokable in a Statefun deployment.
pubtraitTransport{/// Serves the stateful functions in the given `FunctionRegistry`. This will usually be a
/// blocking method and should be the last method you call in your program.
fnrun(self, function_registry: FunctionRegistry)->Result<(), failure::Error>;}