Function gluster::get_peer [] [src]

pub fn get_peer(hostname: &String) -> Result<PeerGlusterError>

This will query the Gluster peer list and return a Peer struct for the peer

Failures

Returns GlusterError if the peer could not be found