fn spawn(service: InspectService, chan: fasync::Channel) {
        let stream = InspectRequestStream::from_channel(chan);
        let fut = serve_request_stream(service.current_node.clone(), stream);
        fasync::spawn(fut.unwrap_or_else(|e: failure::Error| {
            fx_log_err!("error running inspect interface: {:?}", e)
        }))
    }
/// Spawns a new async to respond to requests querying inspect_service over chan
Spawns a new async to respond to requests querying inspect_service over chan
Spawns a new async to respond to requests querying inspect_service over chan
fn spawn(service: InspectService, chan: fasync::Channel) {
        let stream = InspectRequestStream::from_channel(chan);
        let fut = serve_request_stream(service.current_node.clone(), stream);
        fasync::spawn(fut.unwrap_or_else(|e: failure::Error| {
            fx_log_err!("error running inspect interface: {:?}", e)
        }))
    }
fn spawn ( service : InspectService , chan : fasync :: Channel ) { let stream = InspectRequestStream :: from_channel ( chan ) ; let fut = serve_request_stream ( service . current_node . clone ( ) , stream ) ; fasync :: spawn ( fut . unwrap_or_else ( | e : failure :: Error | { fx_log_err ! ( " " e ) } ) ) }
Spawns a new async to respond to requests querying inspect_service over chan
Spawns a new async to respond to requests querying inspect_service over chan
service
InspectService
chan
fasync::Channel
service
InspectService
chan
fasync::Channel