Struct libvirt::connection::Connection
[−]
[src]
pub struct Connection { /* fields omitted */ }
Methods
impl Connection
[src]
fn new(uri: String, conntype: ConnectionType) -> Result<Connection, VirError>
fn capabilities(&self) -> Result<String, VirError>
fn connection_type(&self) -> Result<String, VirError>
fn node_info(&self) -> Result<NodeInfo, VirError>
fn hostname(&self) -> Result<String, VirError>
fn version(&self) -> Result<u64, VirError>
fn libvirt_version(&self) -> Result<u64, VirError>
fn get_type(&self) -> Result<String, VirError>
fn alive(&self) -> Result<(), VirError>
fn encrypted(&self) -> Result<(), VirError>
fn secured(&self) -> Result<(), VirError>
fn count_defined_domain(&self) -> Result<i32, VirError>
fn count_domain(&self) -> Result<i32, VirError>
fn domains(&self) -> Result<Vec<i32>, VirError>
fn list_interfaces(&self) -> Result<Vec<String>, VirError>
fn list_all_domains(&self, flags: u32) -> Result<Vec<VirDomain>, VirError>
fn defined_domains(&self) -> Result<Vec<String>, VirError>
fn list_network(&self) -> Result<Vec<String>, VirError>
fn list_storage_pool(&self) -> Result<Vec<String>, VirError>
fn lookup_domain_byid(&self, id: i32) -> Result<VirDomain, VirError>
fn lookup_domain_byname(&self, name: &str) -> Result<VirDomain, VirError>
fn create_domain(&self, xml: &str, flags: u32) -> Result<VirDomain, VirError>
fn define_domain(&self, xml: &str) -> Result<VirDomain, VirError>
fn close(&self) -> Result<(), VirError>
Trait Implementations
impl Clone for Connection
[src]
fn clone(&self) -> Connection
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more