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
↓ 1 callers
Method
str
(&self)
bip_bencode/src/reference/bencode_ref.rs:74
↓ 1 callers
Method
str_ext
(&self)
bip_bencode/src/reference/bencode_ref.rs:105
↓ 1 callers
Method
str_ext
(&self)
bip_bencode/src/access/bencode.rs:85
↓ 1 callers
Function
str_to_addr
(addr: &str)
bip_handshake/examples/handshake_torrent.rs:69
↓ 1 callers
Method
stream_buffer_capacity
Retrieve the stream buffer capacity.
bip_peer/src/manager/builder.rs:79
↓ 1 callers
Method
stream_buffer_capacity
Retrieve the stream buffer capacity.
bip_disk/src/disk/builder.rs:52
↓ 1 callers
Method
sync_file
(&self, path: P)
bip_disk/src/disk/fs/mod.rs:47
↓ 1 callers
Method
target_id
(&self)
bip_dht/src/message/find_node.rs:54
↓ 1 callers
Method
timeout
(&mut self, mut provider: Provider<'a, Self>, timeout: DispatchTimeout)
bip_utracker/src/client/dispatcher.rs:314
↓ 1 callers
Method
timeout_id
Yields the current timeout id if one is set.
bip_utracker/src/client/dispatcher.rs:364
↓ 1 callers
Method
try_count_increment
(&self)
bip_util/src/send/split_sender.rs:50
↓ 1 callers
Method
update_theirs
(&mut self, message: ExtendedMessage)
bip_select/src/extended/mod.rs:57
↓ 1 callers
Method
validate_downloaded
(&mut self)
bip_select/src/discovery/ut_metadata.rs:385
↓ 1 callers
Method
validate_files_sizes
Validates the file sizes for the given torrent file and block allocates them if they do not exist. This function will, if the file does not exist, or
bip_disk/src/disk/tasks/helpers/piece_checker.rs:103
↓ 1 callers
Function
validate_token_from_addr
Validate a token given an ip address and the two current secrets.
bip_dht/src/token.rs:177
↓ 1 callers
Method
wait_buffer_size
Gets the wait buffer size.
bip_handshake/src/handshake/config.rs:66
↓ 1 callers
Method
with_connect_timeout
Sets the connect timeout that `Handshaker` uses to make sure peers dont take too long to respond to our connection (regardless of the underlying trans
bip_handshake/src/handshake/config.rs:55
↓ 1 callers
Method
with_discovery_module
Add the given discovery module to the list of discovery modules.
bip_select/src/uber.rs:73
↓ 1 callers
Method
with_done_buffer_size
Sets the buffer size that `HandshakeStream` uses internally to store processed handshake connections before they are yielded.
bip_handshake/src/handshake/config.rs:40
↓ 1 callers
Method
with_extended_builder
Specifies the given builder that all modules will add to when sending an extended message to a peer. This message will only be sent when the extensio
bip_select/src/uber.rs:67
↓ 1 callers
Method
with_extended_type
Set the given `ExtendedType` to map to the given value.
bip_peer/src/message/bits_ext/handshake.rs:44
↓ 1 callers
Method
with_extensions
Extensions supported by our client, advertised to the peer when handshaking.
bip_handshake/src/handshake/handshaker.rs:89
↓ 1 callers
Method
with_peer_capacity
Max number of peers we can manage.
bip_peer/src/manager/builder.rs:39
↓ 1 callers
Method
with_wait_buffer_size
Sets the buffer size that `Handshaker` uses internally to store handshake connections before they are processed.
bip_handshake/src/handshake/config.rs:33
↓ 1 callers
Method
worker_config
Retrieve the `CpuPool` builder.
bip_disk/src/disk/builder.rs:42
↓ 1 callers
Method
write_bytes
(&mut self, _message: &Self::ProtocolMessage, _writer: W)
bip_peer/src/codec.rs:88
↓ 1 callers
Method
write_bytes
(&mut self, mut callback: C)
bip_metainfo/src/builder/buffer.rs:63
↓ 1 callers
Method
write_len
(&self)
bip_handshake/src/bittorrent/message.rs:46
↓ 1 callers
Method
write_option
(&self, mut buffer: &mut [u8])
bip_utracker/src/option.rs:206
↓ 1 callers
Method
write_piece
(&self, piece_buffer: &[u8], message: &BlockMetadata)
bip_disk/src/disk/tasks/helpers/piece_accessor.rs:32
Method
access_directory
(&self)
bip_disk/test/mod.rs:113
Method
access_directory
(&self)
bip_metainfo/src/metainfo.rs:229
Method
access_metadata
(&self, mut callback: C)
bip_disk/test/mod.rs:119
Method
access_metadata
(&self, callback: C)
bip_metainfo/src/accessor.rs:37
Method
access_metadata
(&self, mut callback: C)
bip_metainfo/src/metainfo.rs:233
Method
access_pieces
(&self, mut callback: C)
bip_disk/test/mod.rs:128
Method
access_pieces
(&self, callback: C)
bip_metainfo/src/accessor.rs:43
Method
access_pieces
(&self, mut callback: C)
bip_metainfo/src/metainfo.rs:242
Method
ack
Ack a message received from a SplitSender.
bip_util/src/send/split_sender.rs:88
Method
add_filter
(&self, filter: F)
bip_handshake/src/filter/mod.rs:27
Method
addr
Retrieve the peer address.
bip_peer/src/manager/peer_info.rs:28
Method
address
Address that we should connect to for the peer.
bip_handshake/src/message/initiate.rs:32
Method
as_any
(&self)
bip_handshake/test/test_filter_whitelist_diff_data.rs:19
Method
as_any
(&self)
bip_handshake/test/test_filter_block_all.rs:20
Method
as_any
(&self)
bip_handshake/test/test_filter_allow_all.rs:20
Method
as_any
(&self)
bip_handshake/test/test_filter_whitelist_same_data.rs:19
Method
as_bad
Create a new node that has never responded to us or requested from us.
bip_dht/src/routing/node.rs:76
Method
as_good
Create a new node that has recently responded to us but never requested from us.
bip_dht/src/routing/node.rs:50
Method
as_multi_file
Parse the file dictionary and generate a multi file File.
bip_metainfo/src/metainfo.rs:360
Method
as_questionable
Create a questionable node that has responded to us before but never requested from us.
bip_dht/src/routing/node.rs:61
Method
as_single_file
Parse the info dictionary and generate a single file File.
bip_metainfo/src/metainfo.rs:346
Method
as_slice
Access the piece buffer as a byte slice.
bip_metainfo/src/builder/buffer.rs:83
Function
bench_build_multi_kb_metainfo
(b: &mut Bencher)
bip_metainfo/benches/mod.rs:12
Function
bench_file_handle_cache_fs_1_mb_pieces_128_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:169
Function
bench_file_handle_cache_fs_1_mb_pieces_16_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:184
Function
bench_file_handle_cache_fs_1_mb_pieces_2_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:199
Function
bench_multi_kb_bencode
(b: &mut Bencher)
bip_bencode/benches/mod.rs:19
Function
bench_native_fs_1_mb_pieces_128_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:124
Function
bench_native_fs_1_mb_pieces_16_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:139
Function
bench_native_fs_1_mb_pieces_2_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:154
Function
bench_nested_lists
(b: &mut Bencher)
bip_bencode/benches/mod.rs:12
Function
bench_parse_multi_kb_metainfo
(b: &mut Bencher)
bip_metainfo/benches/mod.rs:23
Method
bencode_ref
Retrieve a raw `BencodeRef` representing the current message.
bip_peer/src/message/bits_ext/handshake.rs:319
Method
bitxor
(mut self, rhs: ShaHash)
bip_util/src/sha/mod.rs:75
Method
block_offset
(&self)
bip_peer/src/message/standard.rs:155
Method
build
Build an `ExtendedMessage` with the current options.
bip_peer/src/message/bits_ext/handshake.rs:100
Method
bytes
(&self)
bip_bencode/src/reference/bencode_ref.rs:85
Method
bytes_downloaded
Bytes already downloaded.
bip_utracker/src/announce.rs:325
Method
bytes_left
Bytes left to be downloaded.
bip_utracker/src/announce.rs:315
Method
bytes_needed
(&mut self, bytes: &[u8])
bip_peer/src/protocol/wire.rs:27
Method
bytes_needed
(&mut self, bytes: &[u8])
bip_peer/src/protocol/extension.rs:27
Method
bytes_needed
(&mut self, _bytes: &[u8])
bip_peer/src/protocol/unit.rs:20
Method
bytes_needed
(&mut self, _bytes: &[u8])
bip_peer/src/protocol/null.rs:28
Method
bytes_needed
(bytes: &[u8])
bip_peer/src/message/mod.rs:105
Method
bytes_needed
(bytes: &[u8])
bip_peer/src/message/prot_ext/mod.rs:27
Method
bytes_uploaded
Bytes already uploaded.
bip_utracker/src/announce.rs:320
Method
clear_filters
(&self)
bip_handshake/src/filter/mod.rs:37
Method
clear_filters
(&self)
bip_handshake/src/handshake/handshaker.rs:212
Method
connect
(&mut self, _expected: Option<PeerId>, hash: InfoHash, addr: SocketAddr)
examples/get_metadata/src/main.rs:74
Method
convert
(self)
bip_bencode/src/cow.rs:23
Method
decode
Decode the given bytes into a `BencodeRef` using the given decode options.
bip_bencode/src/reference/bencode_ref.rs:39
Method
decode
(&mut self, src: &mut BytesMut)
bip_peer/src/codec.rs:37
Method
default
()
bip_magnet/src/lib.rs:69
Method
default
()
bip_bencode/src/reference/decode_opt.rs:44
Method
default
()
bip_disk/src/memory/block.rs:46
Method
default
()
bip_handshake/src/handshake/config.rs:87
Method
deref
(&self)
bip_disk/src/memory/block.rs:85
Method
deref_mut
(&mut self)
bip_disk/src/memory/block.rs:124
Method
dict
(&self)
bip_bencode/src/mutable/bencode_mut.rs:110
Method
drop
(&mut self)
bip_dht/src/builder.rs:81
Method
drop
(&mut self)
bip_utracker/src/client/mod.rs:161
Method
drop
(&mut self)
bip_utracker/src/server/mod.rs:29
Method
encode
(&self)
bip_dht/src/message/get_peers.rs:56
Method
encode
(&self)
bip_dht/src/message/error.rs:137
Method
encode
(&self)
bip_dht/src/message/find_node.rs:58
Method
encode
(&self)
bip_dht/src/message/announce_peer.rs:97
Method
encoding
String encoding format of the peices portion of the info dictionary.
bip_metainfo/src/metainfo.rs:58
Function
entry_file_filter
Filter that yields true if the entry points to a file.
bip_metainfo/src/accessor.rs:161
Method
eq
(&self, other: &PeerInfo)
bip_peer/src/manager/peer_info.rs:49
Method
eq
(&self, other: &ItemExpiration)
bip_dht/src/storage.rs:190
← previous
next →
601–700 of 1,430, ranked by callers