[][src]Function tower_test::mock::spawn_layer

pub fn spawn_layer<T, U, L>(layer: L) -> (Spawn<L::Service>, Handle<T, U>) where
    L: Layer<Mock<T, U>>, 

Spawn a layer onto a mock service.