Struct bip_utracker::option::URLDataOption [] [src]

pub struct URLDataOption<'a> { /* fields omitted */ }

Concatenated PATH and QUERY of a UDP tracker URL.

Methods

impl<'a> URLDataOption<'a>
[src]

[src]

Create a new URLDataOption from the given bytes.

Trait Implementations

impl<'a> Debug for URLDataOption<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for URLDataOption<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Eq for URLDataOption<'a>
[src]

impl<'a> Clone for URLDataOption<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> AnnounceOption<'a> for URLDataOption<'a>
[src]

[src]

Byte specifying what option this is.

[src]

Length of the associated option data.

[src]

Reads the option content from the given bytes.

[src]

Writes the option payload into the given buffer.