1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Custom backend support for libkrun.
//!
//! This module provides traits and types for implementing custom backends
//! for libkrun's virtio devices.
//!
//! # Console Backends
//!
//! The `console` module provides the [`ConsolePortBackend`] trait for
//! in-process virtio-console port backends. See [`console::ConsolePortBackend`]
//! for details.
//!
//! # Network Backends
//!
//! The `net` module re-exports the `NetBackend` trait which allows custom
//! network implementations. See [`net::NetBackend`] for details.
//!
//! # Filesystem Backends
//!
//! The `fs` module provides the `DynFileSystem` trait, an object-safe version
//! of the `FileSystem` trait. See [`fs::DynFileSystem`] for details.
//--------------------------------------------------------------------------------------------------
// Modules
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
// Re-Exports
//--------------------------------------------------------------------------------------------------
pub use ConsolePortBackend;
pub use DynFileSystem;
pub use NetBackend;