Struct windows_sys::Networking::HostNameType
[−]#[repr(transparent)]pub struct HostNameType(pub i32);
Expand description
Required features: "Networking"
Tuple Fields
0: i32
Implementations
impl HostNameType
impl HostNameType
pub const DomainName: Self = Self(0i32)
pub const Ipv4: Self = Self(1i32)
pub const Ipv6: Self = Self(2i32)
pub const Bluetooth: Self = Self(3i32)
Trait Implementations
impl Clone for HostNameType
impl Clone for HostNameType
impl Copy for HostNameType
Auto Trait Implementations
impl RefUnwindSafe for HostNameType
impl Send for HostNameType
impl Sync for HostNameType
impl Unpin for HostNameType
impl UnwindSafe for HostNameType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more