[][src]Function transmission_sys::tr_torrentId

pub unsafe extern "C" fn tr_torrentId(torrent: *const tr_torrent) -> c_int

@brief Returns this torrent's unique ID.

IDs are good as simple lookup keys, but are not persistent between sessions. If you need that, use tr_info.hash or tr_info.hashString.