pub struct DhtReplyAlert(/* private fields */);Implementations§
Source§impl DhtReplyAlert
impl DhtReplyAlert
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
Auto Trait Implementations§
impl Freeze for DhtReplyAlert
impl RefUnwindSafe for DhtReplyAlert
impl !Send for DhtReplyAlert
impl !Sync for DhtReplyAlert
impl Unpin for DhtReplyAlert
impl UnwindSafe for DhtReplyAlert
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