Function freebsd_geom::get_graph[][src]

pub fn get_graph() -> Result<Graph, Error>

Returns a structure representing the GEOM graph on the running system.

Examples

use freebsd_geom as geom;

fn myfoo() -> Result<(), geom::Error> {
    let graph = geom::get_graph()?;
    Ok(())
}