Function gluster::peer_list [] [src]

pub fn peer_list() -> Result<Vec<Peer>, GlusterError>

Runs gluster pool list and returns a Vec representing all the peers in the cluster This also returns information for the localhost as a Peer. peer_status() does not

Failures

Returns GlusterError if the command failed to run