Enum bip_utracker::announce::AnnounceEvent [] [src]

pub enum AnnounceEvent {
    None,
    Completed,
    Started,
    Stopped,
}

Announce event of a client reported to the server.

Variants

No event is reported.

Torrent download has completed.

Torrent download has started.

Torrent download has stopped.

Methods

impl AnnounceEvent
[src]

[src]

Construct an AnnounceEvent from the given bytes.

[src]

Write the AnnounceEvent to the given writer.

[src]

Access the raw id of the current event.

Trait Implementations

impl Debug for AnnounceEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for AnnounceEvent
[src]

impl Clone for AnnounceEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for AnnounceEvent
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for AnnounceEvent
[src]