Home
last modified time | relevance | path

Searched refs:NonZeroU16 (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/vm/src/
Dmain.rs34 use std::num::NonZeroU16;
108 gdb: Option<NonZeroU16>,
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs85 use std::num::{NonZeroU16, NonZeroU32};
1444 fn extract_gdb_port(config: &VirtualMachineConfig) -> Option<NonZeroU16> { in extract_gdb_port() argument
1446 VirtualMachineConfig::RawConfig(config) => NonZeroU16::new(config.gdbPort as u16), in extract_gdb_port()
1448 NonZeroU16::new(config.customConfig.as_ref().map(|c| c.gdbPort).unwrap_or(0) as u16) in extract_gdb_port()
Dcrosvm.rs37 use std::num::{NonZeroU16, NonZeroU32};
126 pub gdb_port: Option<NonZeroU16>,