pub enum AnnounceEvent {
None = 0,
Completed = 1,
Started = 2,
Stopped = 3,
}Expand description
Announce event type sent to trackers.
Variants§
None = 0
Regular periodic re-announce (no event).
Completed = 1
Download just finished – all pieces verified.
Started = 2
First announce after adding the torrent.
Stopped = 3
Torrent removed or client shutting down.
Trait Implementations§
Source§impl Clone for AnnounceEvent
impl Clone for AnnounceEvent
Source§fn clone(&self) -> AnnounceEvent
fn clone(&self) -> AnnounceEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnnounceEvent
impl Debug for AnnounceEvent
Source§impl PartialEq for AnnounceEvent
impl PartialEq for AnnounceEvent
impl Copy for AnnounceEvent
impl Eq for AnnounceEvent
impl StructuralPartialEq for AnnounceEvent
Auto Trait Implementations§
impl Freeze for AnnounceEvent
impl RefUnwindSafe for AnnounceEvent
impl Send for AnnounceEvent
impl Sync for AnnounceEvent
impl Unpin for AnnounceEvent
impl UnsafeUnpin for AnnounceEvent
impl UnwindSafe for AnnounceEvent
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