Unique ID
(&self)
| 127 | |
| 128 | /// Unique ID |
| 129 | pub fn id(&self) -> BnString { |
| 130 | let result = unsafe { BNRemoteFileGetId(self.handle.as_ptr()) }; |
| 131 | assert!(!result.is_null()); |
| 132 | unsafe { BnString::from_raw(result) } |
| 133 | } |
| 134 | |
| 135 | /// All files share the same properties, but files with different types may make different |
| 136 | /// uses of those properties, or not use some of them at all. |