Closed micfan closed 5 years ago
You should use App::configure instead. App type is designed to be use in-place
thanks, found an example here: https://github.com/actix/examples/blob/09b0188ff99e872898793bd815382a4105219b77/async_ex2/src/bin/main.rs#L11
I want put the Factory parameter of
App::new()
into my single file: router.rs, how to declare the return type? Thanks..error: aborting due to previous error