pub fn run<F>(f: F) -> io::Result<()>
    where
        F: FnOnce() + 'static,
    {
        Self::builder().run(f)
    }
/// This function will start tokio runtime and will finish once the
/// `System::stop()` message get called.
/// Function `f` get called within tokio runtime context.
This function will start tokio runtime and will finish once the
`System::stop()` message get called.
Function `f` get called within tokio runtime context.
This function will start tokio runtime and will finish once the ` System :: stop () ` message get called . Function ` f ` get called within tokio runtime context .
pub fn run<F>(f: F) -> io::Result<()>
    where
        F: FnOnce() + 'static,
    {
        Self::builder().run(f)
    }
pub fn run < F > ( f : F ) -> io :: Result < ( ) > where F : FnOnce ( ) + ' static , { Self :: builder ( ) . run ( f ) }
This function will start tokio runtime and will finish once the
`System::stop()` message get called.
This function will start tokio runtime and will finish once the ` System :: stop () ` message get called .
f
F