pub struct VhostUserFrontendOption {
pub type_: DeviceType,
pub socket: PathBuf,
pub max_queue_size: Option<u16>,
pub pci_address: Option<PciAddress>,
}Fields§
§type_: DeviceTypeDevice type
socket: PathBufPath to the vhost-user backend socket to connect to
max_queue_size: Option<u16>Maximum number of entries per queue (default: 32768)
pci_address: Option<PciAddress>Preferred PCI address
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VhostUserFrontendOption
impl<'de> Deserialize<'de> for VhostUserFrontendOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromArgValue for VhostUserFrontendOption
impl FromArgValue for VhostUserFrontendOption
Auto Trait Implementations§
impl Freeze for VhostUserFrontendOption
impl RefUnwindSafe for VhostUserFrontendOption
impl Send for VhostUserFrontendOption
impl Sync for VhostUserFrontendOption
impl Unpin for VhostUserFrontendOption
impl UnwindSafe for VhostUserFrontendOption
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