MCPcopy Create free account

hub / github.com/GGist/bip-rs / functions

Functions1,430 in github.com/GGist/bip-rs

↓ 1 callersMethodstr
(&self)
bip_bencode/src/reference/bencode_ref.rs:74
↓ 1 callersMethodstr_ext
(&self)
bip_bencode/src/reference/bencode_ref.rs:105
↓ 1 callersMethodstr_ext
(&self)
bip_bencode/src/access/bencode.rs:85
↓ 1 callersFunctionstr_to_addr
(addr: &str)
bip_handshake/examples/handshake_torrent.rs:69
↓ 1 callersMethodstream_buffer_capacity
Retrieve the stream buffer capacity.
bip_peer/src/manager/builder.rs:79
↓ 1 callersMethodstream_buffer_capacity
Retrieve the stream buffer capacity.
bip_disk/src/disk/builder.rs:52
↓ 1 callersMethodsync_file
(&self, path: P)
bip_disk/src/disk/fs/mod.rs:47
↓ 1 callersMethodtarget_id
(&self)
bip_dht/src/message/find_node.rs:54
↓ 1 callersMethodtimeout
(&mut self, mut provider: Provider<'a, Self>, timeout: DispatchTimeout)
bip_utracker/src/client/dispatcher.rs:314
↓ 1 callersMethodtimeout_id
Yields the current timeout id if one is set.
bip_utracker/src/client/dispatcher.rs:364
↓ 1 callersMethodtry_count_increment
(&self)
bip_util/src/send/split_sender.rs:50
↓ 1 callersMethodupdate_theirs
(&mut self, message: ExtendedMessage)
bip_select/src/extended/mod.rs:57
↓ 1 callersMethodvalidate_downloaded
(&mut self)
bip_select/src/discovery/ut_metadata.rs:385
↓ 1 callersMethodvalidate_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 callersFunctionvalidate_token_from_addr
Validate a token given an ip address and the two current secrets.
bip_dht/src/token.rs:177
↓ 1 callersMethodwait_buffer_size
Gets the wait buffer size.
bip_handshake/src/handshake/config.rs:66
↓ 1 callersMethodwith_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 callersMethodwith_discovery_module
Add the given discovery module to the list of discovery modules.
bip_select/src/uber.rs:73
↓ 1 callersMethodwith_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 callersMethodwith_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 callersMethodwith_extended_type
Set the given `ExtendedType` to map to the given value.
bip_peer/src/message/bits_ext/handshake.rs:44
↓ 1 callersMethodwith_extensions
Extensions supported by our client, advertised to the peer when handshaking.
bip_handshake/src/handshake/handshaker.rs:89
↓ 1 callersMethodwith_peer_capacity
Max number of peers we can manage.
bip_peer/src/manager/builder.rs:39
↓ 1 callersMethodwith_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 callersMethodworker_config
Retrieve the `CpuPool` builder.
bip_disk/src/disk/builder.rs:42
↓ 1 callersMethodwrite_bytes
(&mut self, _message: &Self::ProtocolMessage, _writer: W)
bip_peer/src/codec.rs:88
↓ 1 callersMethodwrite_bytes
(&mut self, mut callback: C)
bip_metainfo/src/builder/buffer.rs:63
↓ 1 callersMethodwrite_len
(&self)
bip_handshake/src/bittorrent/message.rs:46
↓ 1 callersMethodwrite_option
(&self, mut buffer: &mut [u8])
bip_utracker/src/option.rs:206
↓ 1 callersMethodwrite_piece
(&self, piece_buffer: &[u8], message: &BlockMetadata)
bip_disk/src/disk/tasks/helpers/piece_accessor.rs:32
Methodaccess_directory
(&self)
bip_disk/test/mod.rs:113
Methodaccess_directory
(&self)
bip_metainfo/src/metainfo.rs:229
Methodaccess_metadata
(&self, mut callback: C)
bip_disk/test/mod.rs:119
Methodaccess_metadata
(&self, callback: C)
bip_metainfo/src/accessor.rs:37
Methodaccess_metadata
(&self, mut callback: C)
bip_metainfo/src/metainfo.rs:233
Methodaccess_pieces
(&self, mut callback: C)
bip_disk/test/mod.rs:128
Methodaccess_pieces
(&self, callback: C)
bip_metainfo/src/accessor.rs:43
Methodaccess_pieces
(&self, mut callback: C)
bip_metainfo/src/metainfo.rs:242
Methodack
Ack a message received from a SplitSender.
bip_util/src/send/split_sender.rs:88
Methodadd_filter
(&self, filter: F)
bip_handshake/src/filter/mod.rs:27
Methodaddr
Retrieve the peer address.
bip_peer/src/manager/peer_info.rs:28
Methodaddress
Address that we should connect to for the peer.
bip_handshake/src/message/initiate.rs:32
Methodas_any
(&self)
bip_handshake/test/test_filter_whitelist_diff_data.rs:19
Methodas_any
(&self)
bip_handshake/test/test_filter_block_all.rs:20
Methodas_any
(&self)
bip_handshake/test/test_filter_allow_all.rs:20
Methodas_any
(&self)
bip_handshake/test/test_filter_whitelist_same_data.rs:19
Methodas_bad
Create a new node that has never responded to us or requested from us.
bip_dht/src/routing/node.rs:76
Methodas_good
Create a new node that has recently responded to us but never requested from us.
bip_dht/src/routing/node.rs:50
Methodas_multi_file
Parse the file dictionary and generate a multi file File.
bip_metainfo/src/metainfo.rs:360
Methodas_questionable
Create a questionable node that has responded to us before but never requested from us.
bip_dht/src/routing/node.rs:61
Methodas_single_file
Parse the info dictionary and generate a single file File.
bip_metainfo/src/metainfo.rs:346
Methodas_slice
Access the piece buffer as a byte slice.
bip_metainfo/src/builder/buffer.rs:83
Functionbench_build_multi_kb_metainfo
(b: &mut Bencher)
bip_metainfo/benches/mod.rs:12
Functionbench_file_handle_cache_fs_1_mb_pieces_128_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:169
Functionbench_file_handle_cache_fs_1_mb_pieces_16_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:184
Functionbench_file_handle_cache_fs_1_mb_pieces_2_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:199
Functionbench_multi_kb_bencode
(b: &mut Bencher)
bip_bencode/benches/mod.rs:19
Functionbench_native_fs_1_mb_pieces_128_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:124
Functionbench_native_fs_1_mb_pieces_16_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:139
Functionbench_native_fs_1_mb_pieces_2_kb_blocks
(b: &mut Bencher)
bip_disk/benches/mod.rs:154
Functionbench_nested_lists
(b: &mut Bencher)
bip_bencode/benches/mod.rs:12
Functionbench_parse_multi_kb_metainfo
(b: &mut Bencher)
bip_metainfo/benches/mod.rs:23
Methodbencode_ref
Retrieve a raw `BencodeRef` representing the current message.
bip_peer/src/message/bits_ext/handshake.rs:319
Methodbitxor
(mut self, rhs: ShaHash)
bip_util/src/sha/mod.rs:75
Methodblock_offset
(&self)
bip_peer/src/message/standard.rs:155
Methodbuild
Build an `ExtendedMessage` with the current options.
bip_peer/src/message/bits_ext/handshake.rs:100
Methodbytes
(&self)
bip_bencode/src/reference/bencode_ref.rs:85
Methodbytes_downloaded
Bytes already downloaded.
bip_utracker/src/announce.rs:325
Methodbytes_left
Bytes left to be downloaded.
bip_utracker/src/announce.rs:315
Methodbytes_needed
(&mut self, bytes: &[u8])
bip_peer/src/protocol/wire.rs:27
Methodbytes_needed
(&mut self, bytes: &[u8])
bip_peer/src/protocol/extension.rs:27
Methodbytes_needed
(&mut self, _bytes: &[u8])
bip_peer/src/protocol/unit.rs:20
Methodbytes_needed
(&mut self, _bytes: &[u8])
bip_peer/src/protocol/null.rs:28
Methodbytes_needed
(bytes: &[u8])
bip_peer/src/message/mod.rs:105
Methodbytes_needed
(bytes: &[u8])
bip_peer/src/message/prot_ext/mod.rs:27
Methodbytes_uploaded
Bytes already uploaded.
bip_utracker/src/announce.rs:320
Methodclear_filters
(&self)
bip_handshake/src/filter/mod.rs:37
Methodclear_filters
(&self)
bip_handshake/src/handshake/handshaker.rs:212
Methodconnect
(&mut self, _expected: Option<PeerId>, hash: InfoHash, addr: SocketAddr)
examples/get_metadata/src/main.rs:74
Methodconvert
(self)
bip_bencode/src/cow.rs:23
Methoddecode
Decode the given bytes into a `BencodeRef` using the given decode options.
bip_bencode/src/reference/bencode_ref.rs:39
Methoddecode
(&mut self, src: &mut BytesMut)
bip_peer/src/codec.rs:37
Methoddefault
()
bip_magnet/src/lib.rs:69
Methoddefault
()
bip_bencode/src/reference/decode_opt.rs:44
Methoddefault
()
bip_disk/src/memory/block.rs:46
Methoddefault
()
bip_handshake/src/handshake/config.rs:87
Methodderef
(&self)
bip_disk/src/memory/block.rs:85
Methodderef_mut
(&mut self)
bip_disk/src/memory/block.rs:124
Methoddict
(&self)
bip_bencode/src/mutable/bencode_mut.rs:110
Methoddrop
(&mut self)
bip_dht/src/builder.rs:81
Methoddrop
(&mut self)
bip_utracker/src/client/mod.rs:161
Methoddrop
(&mut self)
bip_utracker/src/server/mod.rs:29
Methodencode
(&self)
bip_dht/src/message/get_peers.rs:56
Methodencode
(&self)
bip_dht/src/message/error.rs:137
Methodencode
(&self)
bip_dht/src/message/find_node.rs:58
Methodencode
(&self)
bip_dht/src/message/announce_peer.rs:97
Methodencoding
String encoding format of the peices portion of the info dictionary.
bip_metainfo/src/metainfo.rs:58
Functionentry_file_filter
Filter that yields true if the entry points to a file.
bip_metainfo/src/accessor.rs:161
Methodeq
(&self, other: &PeerInfo)
bip_peer/src/manager/peer_info.rs:49
Methodeq
(&self, other: &ItemExpiration)
bip_dht/src/storage.rs:190
← previousnext →601–700 of 1,430, ranked by callers