From d2d2ba7c6602e73dc2e3dbd0aa4215e4c412a688 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 2 Jun 2021 22:38:57 +0000 Subject: deploy: d2e2063cb2b5a82709e9c5188602a9fc0f7dadbd --- kvm_rs/kvm/index.html | 8 ++++++++ kvm_rs/kvm/sidebar-items.js | 1 + kvm_rs/kvm/struct.Kvm.html | 20 ++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 kvm_rs/kvm/index.html create mode 100644 kvm_rs/kvm/sidebar-items.js create mode 100644 kvm_rs/kvm/struct.Kvm.html (limited to 'kvm_rs/kvm') diff --git a/kvm_rs/kvm/index.html b/kvm_rs/kvm/index.html new file mode 100644 index 0000000..862e672 --- /dev/null +++ b/kvm_rs/kvm/index.html @@ -0,0 +1,8 @@ +kvm_rs::kvm - Rust + +

Module kvm_rs::kvm[][src]

KVM system ioctls.

+

Structs

+
Kvm

Wrapper for /dev/kvm ioctls.

+
+ \ No newline at end of file diff --git a/kvm_rs/kvm/sidebar-items.js b/kvm_rs/kvm/sidebar-items.js new file mode 100644 index 0000000..d00bbd2 --- /dev/null +++ b/kvm_rs/kvm/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["Kvm","Wrapper for `/dev/kvm` ioctls."]]}); \ No newline at end of file diff --git a/kvm_rs/kvm/struct.Kvm.html b/kvm_rs/kvm/struct.Kvm.html new file mode 100644 index 0000000..abd62f2 --- /dev/null +++ b/kvm_rs/kvm/struct.Kvm.html @@ -0,0 +1,20 @@ +kvm_rs::kvm::Kvm - Rust + +

Struct kvm_rs::kvm::Kvm[][src]

pub struct Kvm { /* fields omitted */ }

Wrapper for /dev/kvm ioctls.

+

Representation of the file descriptor obtained by opening /dev/kvm. +This wrapper provides access to the system ioctls as described in KVM API.

+

Implementations

impl Kvm[src]

pub fn new() -> Result<Kvm>[src]

Open the /dev/kvm device.

+

pub fn create_vm(&self) -> Result<Vm>[src]

Create a new virtual machine with the KVM_CREATE_VM ioctl. +Returns a wrapper vm::Vm representing the VM.

+

Auto Trait Implementations

impl RefUnwindSafe for Kvm

impl Send for Kvm

impl Sync for Kvm

impl Unpin for Kvm

impl UnwindSafe for Kvm

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+
+ \ No newline at end of file -- cgit v1.2.3