mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
vhost_user_net: fix some comments style in lib.rs
Fix the comments style to make them consistent. Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
ac25172176
commit
bc827ee3be
@ -31,9 +31,9 @@ type VhostUserBackendResult<T> = std::result::Result<T, std::io::Error>;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
/// Failed to create kill eventfd
|
||||
/// Failed to create kill eventfd.
|
||||
CreateKillEventFd(io::Error),
|
||||
/// Failed to parse configuration string
|
||||
/// Failed to parse configuration string.
|
||||
FailedConfigParse(OptionParserError),
|
||||
/// Failed to signal used queue.
|
||||
FailedSignalingUsedQueue(io::Error),
|
||||
@ -41,13 +41,13 @@ pub enum Error {
|
||||
HandleEventNotEpollIn,
|
||||
/// Failed to handle unknown event.
|
||||
HandleEventUnknownEvent,
|
||||
/// Open tap device failed.
|
||||
/// Failed to open tap device.
|
||||
OpenTap(OpenTapError),
|
||||
/// No socket provided
|
||||
/// No socket provided.
|
||||
SocketParameterMissing,
|
||||
/// Underlying QueuePair error
|
||||
/// Underlying QueuePair error.
|
||||
NetQueuePair(net_util::NetQueuePairError),
|
||||
/// Failed registering the TAP listener
|
||||
/// Failed to register the TAP listener.
|
||||
RegisterTapListener(io::Error),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user