Enum winapi_util::sysinfo::ComputerNameKind
source · #[non_exhaustive]pub enum ComputerNameKind {
DnsDomain,
DnsFullyQualified,
DnsHostname,
NetBios,
PhysicalDnsDomain,
PhysicalDnsFullyQualified,
PhysicalDnsHostname,
PhysicalNetBios,
}
Expand description
The type of name to be retrieved by get_computer_name
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DnsDomain
The name of the DNS domain assigned to the local computer. If the local computer is a node in a cluster, lpBuffer receives the DNS domain name of the cluster virtual server.
DnsFullyQualified
The fully qualified DNS name that uniquely identifies the local computer. This name is a combination of the DNS host name and the DNS domain name, using the form HostName.DomainName. If the local computer is a node in a cluster, lpBuffer receives the fully qualified DNS name of the cluster virtual server.
DnsHostname
The DNS host name of the local computer. If the local computer is a node in a cluster, lpBuffer receives the DNS host name of the cluster virtual server.
NetBios
The NetBIOS name of the local computer. If the local computer is a node in a cluster, lpBuffer receives the NetBIOS name of the cluster virtual server.
PhysicalDnsDomain
The name of the DNS domain assigned to the local computer. If the local computer is a node in a cluster, lpBuffer receives the DNS domain name of the local computer, not the name of the cluster virtual server.
PhysicalDnsFullyQualified
The fully qualified DNS name that uniquely identifies the computer. If the local computer is a node in a cluster, lpBuffer receives the fully qualified DNS name of the local computer, not the name of the cluster virtual server.
The fully qualified DNS name is a combination of the DNS host name and the DNS domain name, using the form HostName.DomainName.
PhysicalDnsHostname
The DNS host name of the local computer. If the local computer is a node in a cluster, lpBuffer receives the DNS host name of the local computer, not the name of the cluster virtual server.
PhysicalNetBios
The NetBIOS name of the local computer. If the local computer is a node in a cluster, lpBuffer receives the NetBIOS name of the local computer, not the name of the cluster virtual server.
Trait Implementations§
source§impl Clone for ComputerNameKind
impl Clone for ComputerNameKind
source§fn clone(&self) -> ComputerNameKind
fn clone(&self) -> ComputerNameKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more