//! Windows-specific extensions.
usestd::net::IpAddr;/// Extension for [User] struct.
////// [User]: ../../struct.User.html
#[heim_derive::os_ext_for(crate::User,cfg(target_os ="windows"))]pubtraitUserExt{/// Domain name that the user belongs to.
fndomain(&self)->&str;// TODO: Not all possible protocols are supported at the moment by the sys impl.
// When they are will be implemented fully, this function should return `&IpAddr` directly,
// without `Option<T>` wrapper.
/// Client network address of a RDP session.
////// At the moment not all possible protocols are supported
/// (`AF_IPX`, `AF_NETBIOS` and `AF_UNSPEC` families are missing),
/// and therefore, this method returns `Option<&IpAddr>`.
////// It should be expected that method will return `&IpAddr` directly,
/// when support for all protocols will arrive.
fnaddress(&self)->Option<&IpAddr>;}