pub struct TrackerReplyAlert(/* private fields */);Implementations§
Source§impl TrackerReplyAlert
impl TrackerReplyAlert
pub fn handle(&self) -> TorrentHandle
pub fn torrent_name<'a>(&'a self) -> &'a str
pub fn message(&self) -> String
pub fn tracker_url<'a>(&'a self) -> &'a str
pub fn local_endpoint(&self)
pub fn num_peers(&self) -> i32
pub fn version(&self) -> ProtocolVersion
Auto Trait Implementations§
impl Freeze for TrackerReplyAlert
impl RefUnwindSafe for TrackerReplyAlert
impl !Send for TrackerReplyAlert
impl !Sync for TrackerReplyAlert
impl Unpin for TrackerReplyAlert
impl UnwindSafe for TrackerReplyAlert
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