pub enum Error {
NewVhostUserHandler(VhostUserHandlerError),
CreateBackendListener(Error),
CreateBackendReqHandler(Error),
CreateVhostUserListener(Error),
StartDaemon(Error),
WaitDaemon(Box<dyn Any + Send>),
HandleRequest(Error),
}
Expand description
Errors related to vhost-user daemon.
Variants§
NewVhostUserHandler(VhostUserHandlerError)
Failed to create a new vhost-user handler.
CreateBackendListener(Error)
Failed creating vhost-user backend listener.
CreateBackendReqHandler(Error)
Failed creating vhost-user backend handler.
CreateVhostUserListener(Error)
Failed creating listener socket
StartDaemon(Error)
Failed starting daemon thread.
WaitDaemon(Box<dyn Any + Send>)
Failed waiting for daemon thread.
HandleRequest(Error)
Failed handling a vhost-user request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl !Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more