Crate vhost_user_backend

Source
Expand description

A simple framework to run a vhost-user backend service.

Modules§

bitmap

Structs§

VhostUserDaemon
Implement a simple framework to run a vhost-user service daemon.
VringEpollHandler
Epoll event handler to manage and process epoll events for registered file descriptor.
VringMutex
A VringState object protected by Mutex for multi-threading context.
VringRwLock
A VringState object protected by RwLock for multi-threading context.
VringState
Struct to maintain raw state information for a vhost-user queue.

Enums§

Error
Errors related to vhost-user daemon.
VhostUserHandlerError
Errors related to vhost-user handler.

Traits§

VhostUserBackend
Trait with interior mutability for vhost user backend servers to implement concrete services.
VhostUserBackendMut
Trait without interior mutability for vhost user backend servers to implement concrete services.
VringStateGuard
Trait for objects returned by VringT::get_ref().
VringStateMutGuard
Trait for objects returned by VringT::get_mut().
VringT

Type Aliases§

Result
Result of vhost-user daemon operations.