pub enum VhostUserHandlerError {
CreateVring(VirtQueError),
CreateEpollHandler(VringEpollError),
SpawnVringWorker(Error),
MissingMemoryMapping,
}
Expand description
Errors related to vhost-user handler.
Variants§
CreateVring(VirtQueError)
Failed to create a Vring
.
CreateEpollHandler(VringEpollError)
Failed to create vring worker.
SpawnVringWorker(Error)
Failed to spawn vring worker.
MissingMemoryMapping
Could not find the mapping from memory regions.
Trait Implementations§
source§impl Debug for VhostUserHandlerError
impl Debug for VhostUserHandlerError
source§impl Display for VhostUserHandlerError
impl Display for VhostUserHandlerError
source§impl Error for VhostUserHandlerError
impl Error for VhostUserHandlerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()