Searched refs:NonZeroU16 (Results 1 – 3 of 3) sorted by relevance
34 use std::num::NonZeroU16;108 gdb: Option<NonZeroU16>,
85 use std::num::{NonZeroU16, NonZeroU32};1444 fn extract_gdb_port(config: &VirtualMachineConfig) -> Option<NonZeroU16> { in extract_gdb_port() argument1446 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()
37 use std::num::{NonZeroU16, NonZeroU32};126 pub gdb_port: Option<NonZeroU16>,