(&self)
| 177 | } |
| 178 | |
| 179 | pub fn name(&self) -> String { |
| 180 | use std::ffi::OsString; |
| 181 | use std::os::windows::prelude::*; |
| 182 | OsString::from_wide(self.0.name()) |
| 183 | .to_string_lossy() |
| 184 | .to_string() |
| 185 | } |
| 186 | |
| 187 | pub fn is_online(&self) -> bool { |
| 188 | self.0.is_online() |