pub struct TrackerErrorAlert(/* private fields */);Implementations§
Source§impl TrackerErrorAlert
impl TrackerErrorAlert
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 failure_reason(&self) -> &str
Sourcepub fn times_in_row(&self) -> i32
pub fn times_in_row(&self) -> i32
How many times in a row this tracker has failed.
pub fn error(&self) -> LtrsError
pub fn op(&self) -> Operation
Sourcepub fn version(&self) -> ProtocolVersion
pub fn version(&self) -> ProtocolVersion
The bittorrent protocol version that was announced
Auto Trait Implementations§
impl Freeze for TrackerErrorAlert
impl RefUnwindSafe for TrackerErrorAlert
impl !Send for TrackerErrorAlert
impl !Sync for TrackerErrorAlert
impl Unpin for TrackerErrorAlert
impl UnwindSafe for TrackerErrorAlert
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