pub trait UserExt {
// Required methods
fn domain(&self) -> &str;
fn address(&self) -> Option<&IpAddr>;
}
Expand description
Extension for User struct.
Required Methods§
Sourcefn address(&self) -> Option<&IpAddr>
fn address(&self) -> Option<&IpAddr>
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.