Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GGist/bip-rs
/ functions
Functions
1,430 in github.com/GGist/bip-rs
⨍
Functions
1,430
◇
Types & classes
295
Method
eq
(&self, other: &Node)
bip_dht/src/routing/node.rs:162
Method
eq
(&self, other: &[u8])
bip_util/src/sha/mod.rs:65
Method
error_code
(&self)
bip_dht/src/message/error.rs:129
Method
error_message
(&'b self)
bip_dht/src/message/error.rs:133
Function
execute_handshake
(item: HandshakeType<S>, context: &(Extensions, PeerId, Filters, HandshakeTimer))
bip_handshake/src/handshake/handler/handshaker.rs:19
Method
extensions
Retrieve the extensions supported by this peer.
bip_peer/src/manager/peer_info.rs:43
Method
extensions
Extensions that both you and the peer support.
bip_handshake/src/message/complete.rs:30
Method
file_size
(&self, file: &Self::File)
bip_disk/test/mod.rs:184
Method
file_size
(&self, file: &NativeFile)
bip_disk/src/disk/fs/native.rs:51
Method
file_size
(&self, file: &Self::File)
bip_disk/src/disk/fs/cache/file_handle.rs:64
Method
fmt
(&self, f: &mut Formatter)
bip_dht/src/router.rs:93
Method
fmt
(&self, f: &mut Formatter)
bip_dht/src/routing/node.rs:189
Method
from
(error: TimeoutError<T>)
bip_peer/src/manager/future/mod.rs:16
Method
from
(token: [u8; sha::SHA_HASH_LEN])
bip_dht/src/token.rs:58
Method
from
(block: BlockMut)
bip_disk/src/memory/block.rs:77
Method
from
(info: Info)
bip_metainfo/src/metainfo.rs:89
Method
from
(bytes: [u8; NUM_EXTENSION_BYTES])
bip_handshake/src/message/extensions.rs:87
Method
from
(sha_hash: [u8; SHA_HASH_LEN])
bip_util/src/sha/mod.rs:59
Method
from_builder
Create an `ExtendedMessage` from an `ExtendedMessageBuilder`.
bip_peer/src/message/bits_ext/handshake.rs:216
Method
from_builder
Create a new `PeerManager` from the given `PeerManagerBuilder`.
bip_peer/src/manager/mod.rs:43
Method
from_builder
Create a `DiskManager` from the given `DiskManagerBuilder`.
bip_disk/src/disk/manager.rs:24
Method
from_builder
Create an `UberModule` from the given `UberModuleBuilder`.
bip_select/src/uber.rs:130
Method
from_bytes
Construct a transaction id from a series of bytes.
bip_dht/src/transaction.rs:210
Method
from_bytes
Read a `Metainfo` from metainfo file bytes.
bip_metainfo/src/metainfo.rs:29
Method
from_bytes
(bytes: &[u8])
bip_handshake/src/bittorrent/message.rs:31
Method
from_bytes
Create a `Protocol` from the given bytes.
bip_handshake/src/message/protocol.rs:19
Method
from_bytes
Create a new `Extensions` by parsing the given bytes.
bip_handshake/src/message/extensions.rs:28
Method
from_bytes
Create a ShaHash by hashing the given bytes.
bip_util/src/sha/mod.rs:20
Method
from_bytes
Construct a CompactPeersV4 from the given bytes.
bip_utracker/src/contact.rs:120
Method
from_bytes
Construct a ScrapeStats from the given bytes.
bip_utracker/src/scrape.rs:31
Method
from_bytes
Parse a set of AnnounceOptions from the given bytes.
bip_utracker/src/option.rs:45
Method
from_bytes
Create a new TrackerRequest from the given bytes.
bip_utracker/src/request.rs:56
Method
from_bytes
Create a new TrackerResponse from the given bytes.
bip_utracker/src/response.rs:52
Method
from_bytes
Construct the ClientState from the given bytes.
bip_utracker/src/announce.rs:292
Method
from_bytes
Construct an ErrorResponse from the given bytes.
bip_utracker/src/error.rs:21
Method
from_bytes_v4
Construct a CompactPeers::V4 from the given bytes.
bip_utracker/src/contact.rs:24
Method
from_bytes_v4
Construct an IPv4 AnnounceRequest from the given bytes.
bip_utracker/src/announce.rs:63
Method
from_bytes_v6
Construct a CompactPeers::V6 from the given bytes.
bip_utracker/src/contact.rs:33
Method
from_bytes_v6
Construct an IPv6 AnnounceRequest from the given bytes.
bip_utracker/src/announce.rs:68
Method
from_hash
Create a ShaHash directly from the given hash.
bip_util/src/sha/mod.rs:25
Method
from_id
Create an `ExtendedType` from the given identifier.
bip_peer/src/message/bits_ext/handshake.rs:180
Method
from_parts
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/get_peers.rs:28
Method
from_parts
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/ping.rs:25
Method
from_parts
(root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8], rqst_type
bip_dht/src/message/request.rs:76
Method
from_parts
(root: &'a Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8], rsp_ty
bip_dht/src/message/response.rs:101
Method
from_parts
(root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/error.rs:106
Method
from_parts
Create a FindNodeRequest from parts. The target_key argument is provided for cases where, due to forward compatibility, the target key we are interes
bip_dht/src/message/find_node.rs:30
Method
from_parts
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/announce_peer.rs:47
Method
from_parts
Create a new `HandshakeMessage` from the given components.
bip_handshake/src/bittorrent/message.rs:21
Method
from_socket_addr
Create a new IpAddr from the given SocketAddr.
bip_util/src/net.rs:12
Method
from_transaction_id
(trans_id: u64)
bip_dht/src/transaction.rs:248
Function
generate_compliant_id_ipv4
Generates an ipv4 address compliant node id.
bip_dht/src/security.rs:21
Method
get_comment
Get decoded value of comment key
bip_metainfo/src/builder/mod.rs:198
Method
get_created_by
Get decoded value of created-by key
bip_metainfo/src/builder/mod.rs:205
Method
get_creation_date
Get decoded value of creation-date key
bip_metainfo/src/builder/mod.rs:191
Method
get_info_hash
(&self)
bip_magnet/src/lib.rs:128
Method
get_main_tracker
Get decoded value of announce-url key
bip_metainfo/src/builder/mod.rs:184
Method
get_trackers
Get decoded value of announce-list key
bip_metainfo/src/builder/mod.rs:177
Method
good_nodes
Iterator over all good nodes in the bucket.
bip_dht/src/routing/bucket.rs:41
Function
good_nodes_filter
(node: &&Node)
bip_dht/src/routing/bucket.rs:109
Method
handle_error
(&self, error: BencodeConvertError)
bip_peer/src/message/bencode.rs:18
Method
handle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/mod.rs:48
Method
handle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/request.rs:59
Method
handle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/response.rs:73
Method
handle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/error.rs:77
Method
hash
(&self, state: &mut H)
bip_dht/src/routing/node.rs:168
Method
hash
Hash that we are interested in from the peer.
bip_handshake/src/message/initiate.rs:27
Method
id
Unique peer id used to identify ourselves to other peers.
bip_dht/examples/debug.rs:41
Method
id
(&self)
examples/get_metadata/src/main.rs:66
Method
incoming
(&mut self, mut provider: Provider<'a, Self>, message: &[u8],
bip_utracker/src/server/dispatcher.rs:163
Method
index
(&self, index: usize)
bip_bencode/src/access/list.rs:27
Method
index_mut
(&mut self, index: usize)
bip_bencode/src/access/list.rs:41
Method
info_hash
(&self)
bip_dht/src/message/get_peers.rs:52
Method
info_hash
(&self)
bip_dht/src/message/announce_peer.rs:85
Method
init_state
Create the initial PieceCheckerState for the PieceChecker.
bip_disk/src/disk/tasks/helpers/piece_checker.rs:23
Method
insert
(&mut self, index: usize, item: V)
bip_bencode/src/access/list.rs:91
Method
int
(&self)
bip_bencode/src/reference/bencode_ref.rs:78
Method
int
(&self)
bip_bencode/src/mutable/bencode_mut.rs:89
Method
interval
Interval in seconds that clients should wait before re-announcing.
bip_utracker/src/announce.rs:220
Method
into_accessor
(self)
bip_disk/test/mod.rs:107
Method
into_accessor
(self)
bip_metainfo/src/metainfo.rs:215
Method
into_parts
(self)
bip_disk/src/memory/block.rs:71
Method
into_parts
Break the `DiskManager` into a sink and stream. The returned sink implements `Clone`.
bip_disk/src/disk/manager.rs:44
Method
into_parts
(self)
bip_handshake/src/bittorrent/message.rs:50
Method
into_parts
Break the `InitiateMessage` up into its parts.
bip_handshake/src/message/initiate.rs:37
Method
ipv6_addr
(&self)
bip_dht/src/router.rs:50
Method
is_assorted
(&self)
bip_dht/src/routing/table.rs:207
Function
is_compliant_ipv4_addr
Compares the given ipv4 address against the given node id to see if the node id is valid.
bip_dht/src/security.rs:53
Method
is_ready
(&self)
bip_select/src/uber.rs:101
Method
is_sorted
(&self)
bip_dht/src/routing/table.rs:200
Function
it_works
()
bip_htracker/src/lib.rs:2
Function
it_works
()
bip_utp/src/lib.rs:2
Function
it_works
()
bip_lpd/src/lib.rs:2
Method
keep_alive
()
bip_peer/src/message/mod.rs:91
Method
key
Unique key randomized by the client that the server can use.
bip_utracker/src/announce.rs:114
Method
kind
(&'b self)
bip_bencode/src/reference/bencode_ref.rs:65
Method
kind_mut
(&'b mut self)
bip_bencode/src/mutable/bencode_mut.rs:119
Method
leechers
Number of leechers the tracker knows about for the torrent.
bip_utracker/src/announce.rs:225
Method
list
(&self)
bip_bencode/src/mutable/bencode_mut.rs:103
Method
local_addr
(&self)
bip_handshake/src/local_addr.rs:13
← previous
next →
701–800 of 1,430, ranked by callers