lt_rs/alerts/implementations/torrent_resumed.rs
1use crate::{alerts::TorrentResumedAlert, torrent_handle::TorrentHandle};
2
3impl TorrentResumedAlert {
4 #[inline(always)]
5 pub fn handle(&self) -> TorrentHandle {
6 self.as_torrent_alert().handle()
7 }
8
9 #[inline(always)]
10 pub fn torrent_name<'a>(&'a self) -> &'a str {
11 self.as_torrent_alert().torrent_name()
12 }
13
14 #[inline(always)]
15 pub fn message(&self) -> String {
16 self.as_torrent_alert().message()
17 }
18}