mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vhost_user_block: trim qualified paths
Import the std modules used in the crate instead of spelling the full paths at every use site. Signed-off-by: Henry Hrvoje Tonkovac <htonkovac@gmail.com> Assisted-by: Claude:Opus-4.8
This commit is contained in:
committed by
Rob Bradford
parent
11fab725ae
commit
11bacdee46
@@ -48,8 +48,8 @@ const BLK_SIZE: u32 = 512;
|
|||||||
// and the overhead of the emulation layer.
|
// and the overhead of the emulation layer.
|
||||||
const POLL_QUEUE_US: u128 = 50;
|
const POLL_QUEUE_US: u128 = 50;
|
||||||
|
|
||||||
type Result<T> = std::result::Result<T, Error>;
|
type Result<T> = result::Result<T, Error>;
|
||||||
type VhostUserBackendResult<T> = std::result::Result<T, std::io::Error>;
|
type VhostUserBackendResult<T> = io::Result<T>;
|
||||||
|
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
enum Error {
|
enum Error {
|
||||||
|
|||||||
Reference in New Issue
Block a user