Struct virt::nodedev::NodeDevice
[−]
[src]
pub struct NodeDevice { /* fields omitted */ }Provides APIs for the management of nodedevs.
Methods
impl NodeDevice[src]
fn new(ptr: virNodeDevicePtr) -> NodeDevice
fn as_ptr(&self) -> virNodeDevicePtr
fn lookup_by_name(conn: &Connect, id: &str) -> Result<NodeDevice, Error>
fn create_xml(
conn: &Connect,
xml: &str,
flags: u32
) -> Result<NodeDevice, Error>
conn: &Connect,
xml: &str,
flags: u32
) -> Result<NodeDevice, Error>