pub struct HttpAnnounceResponse {
pub response: AnnounceResponse,
pub tracker_id: Option<String>,
pub warning: Option<String>,
pub min_interval: Option<u32>,
}Expand description
Raw HTTP announce response (bencode).
Fields§
§response: AnnounceResponseCommon announce response data (interval, peers, etc.).
tracker_id: Option<String>Tracker ID (some trackers return this for subsequent requests).
warning: Option<String>Warning message from tracker.
min_interval: Option<u32>BEP 31: minimum re-announce interval (floor on interval).
Trait Implementations§
Source§impl Clone for HttpAnnounceResponse
impl Clone for HttpAnnounceResponse
Source§fn clone(&self) -> HttpAnnounceResponse
fn clone(&self) -> HttpAnnounceResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpAnnounceResponse
impl RefUnwindSafe for HttpAnnounceResponse
impl Send for HttpAnnounceResponse
impl Sync for HttpAnnounceResponse
impl Unpin for HttpAnnounceResponse
impl UnsafeUnpin for HttpAnnounceResponse
impl UnwindSafe for HttpAnnounceResponse
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