pub type VhostUserBlock = VhostUserBlockImpl<Frontend>;Aliased Type§
pub struct VhostUserBlock {Show 15 fields
pub avail_features: u64,
pub acked_features: u64,
pub config_space: Vec<u8>,
pub activate_evt: EventFd,
pub queues: Vec<Queue>,
pub queue_evts: [EventFd; 1],
pub device_state: DeviceState,
pub id: String,
pub partuuid: Option<String>,
pub cache_type: CacheType,
pub root_device: bool,
pub read_only: bool,
pub vu_handle: VhostUserHandleImpl<Frontend>,
pub vu_acked_protocol_features: u64,
pub metrics: Arc<VhostUserDeviceMetrics>,
}Fields§
§avail_features: u64§acked_features: u64§config_space: Vec<u8>§activate_evt: EventFd§queues: Vec<Queue>§queue_evts: [EventFd; 1]§device_state: DeviceState§id: String§partuuid: Option<String>§cache_type: CacheType§root_device: bool§read_only: bool§vu_handle: VhostUserHandleImpl<Frontend>§vu_acked_protocol_features: u64§metrics: Arc<VhostUserDeviceMetrics>Trait Implementations§
Source§impl MutEventSubscriber for VhostUserBlock
impl MutEventSubscriber for VhostUserBlock
Source§impl Persist<'_> for VhostUserBlock
impl Persist<'_> for VhostUserBlock
Source§type State = VhostUserBlockState
type State = VhostUserBlockState
The type of the object representing the state of the component.
Source§type ConstructorArgs = BlockConstructorArgs
type ConstructorArgs = BlockConstructorArgs
The type of the object holding the constructor arguments.
Source§type Error = VhostUserBlockError
type Error = VhostUserBlockError
The type of the error that can occur while constructing the object.