[][src]Trait statefun::transport::Transport

pub trait Transport {
    fn run(self, function_registry: FunctionRegistry) -> Result<(), Error>;
}

Serves up stateful functions in a FunctionRegistry to make them invokable in a Statefun deployment.

Required methods

fn run(self, function_registry: FunctionRegistry) -> Result<(), Error>

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.

Loading content...

Implementors

impl Transport for HyperHttpTransport[src]

Loading content...