Function gluster::get_peer [] [src]

pub fn get_peer(hostname: &String) -> Result<Peer, GlusterError>

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