/// check to see if rpc is up
check to see if rpc is up
check to see if rpc is up
pub fn ping(path: &str) -> bool {
        use std::os::unix::net::UnixStream;
        let _stream = match UnixStream::connect(path) {
            Ok(stream) => stream,
            Err(_) => return false,
        };
        true
    }
pub fn ping ( path : & str ) -> bool { use std :: os :: unix :: net :: UnixStream ; let _stream = match UnixStream :: connect ( path ) { Ok ( stream ) => stream , Err ( _ ) => return false , } ; true }
check to see if rpc is up
check to see if rpc is up
path
&str