ceph_rust::admin_sockets

Function admin_socket_command

Source
pub fn admin_socket_command(cmd: &str, socket: &str) -> RadosResult<String>
Expand description

This is a helper function that builds a raw command from the actual command. You just pass in a command like “help”. The returned String will be a JSON String.