Struct bip_dht::message::response::ResponseValidate [] [src]

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

Methods

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

Validate the given nodes string which should be IPv4 compact

Trait Implementations

impl<'a> BencodeConvert for ResponseValidate<'a>
[src]

Convert the given conversion error into the appropriate error type.

Attempt to convert the given bencode value into an integer. Read more

Attempt to convert the given bencode value into bytes. Read more

Attempt to convert the given bencode value into a UTF-8 string. Read more

Attempty to convert the given bencode value into a list. Read more

Attempt to convert the given bencode value into a dictionary. Read more

Look up a value in a dictionary of bencoded values using the given key.

Combines a lookup operation on the given key with a conversion of the value, if found, to an integer.

Combines a lookup operation on the given key with a conversion of the value, if found, to a series of bytes.

Combines a lookup operation on the given key with a conversion of the value, if found, to a UTF-8 string.

Combines a lookup operation on the given key with a conversion of the value, if found, to a list.

Combines a lookup operation on the given key with a conversion of the value, if found, to a dictionary.