pub struct AddTorrentAlert(/* private fields */);Implementations§
Source§impl AddTorrentAlert
impl AddTorrentAlert
pub fn handle(&self) -> TorrentHandle
pub fn torrent_name<'a>(&'a self) -> &'a str
pub fn message(&self) -> String
Sourcepub fn params<'a>(&'a self) -> AddTorrentParamsRef<'a>
pub fn params<'a>(&'a self) -> AddTorrentParamsRef<'a>
This contains copies of the most important fields from the original add_torrent_params object, passed to add_torrent() or async_add_torrent(). Specifically, these fields are copied:
- version
- ti
- name
- save_path
- userdata
- tracker_id
- flags
- info_hash
pub fn error(&self) -> LtrsError
Auto Trait Implementations§
impl Freeze for AddTorrentAlert
impl RefUnwindSafe for AddTorrentAlert
impl !Send for AddTorrentAlert
impl !Sync for AddTorrentAlert
impl Unpin for AddTorrentAlert
impl UnwindSafe for AddTorrentAlert
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more