MCPcopy Create free account

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

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

Functionpositive_write_peer_v4
()
bip_utracker/src/contact.rs:376
Functionpositive_write_peer_v6
()
bip_utracker/src/contact.rs:470
Functionpositive_write_peers_v4
()
bip_utracker/src/contact.rs:389
Functionpositive_write_peers_v6
()
bip_utracker/src/contact.rs:484
Functionpositive_write_request
()
bip_utracker/src/announce.rs:532
Functionpositive_write_request_empty
()
bip_utracker/src/scrape.rs:275
Functionpositive_write_request_many_hashes
()
bip_utracker/src/scrape.rs:300
Functionpositive_write_request_single_hash
()
bip_utracker/src/scrape.rs:287
Functionpositive_write_response
()
bip_utracker/src/announce.rs:572
Functionpositive_write_response_empty
()
bip_utracker/src/scrape.rs:319
Functionpositive_write_response_many_stats
()
bip_utracker/src/scrape.rs:349
Functionpositive_write_response_single_stat
()
bip_utracker/src/scrape.rs:331
Functionpositive_write_single_buffer_completely_filled
()
bip_util/src/contiguous.rs:156
Functionpositive_write_single_buffer_partially_filled
()
bip_util/src/contiguous.rs:146
Functionpositive_write_single_option
()
bip_utracker/src/option.rs:245
Functionpositive_write_source_ipv4_explicit
()
bip_utracker/src/announce.rs:691
Functionpositive_write_source_ipv4_implied
()
bip_utracker/src/announce.rs:664
Functionpositive_write_source_ipv6_explicit
()
bip_utracker/src/announce.rs:704
Functionpositive_write_source_ipv6_implied
()
bip_utracker/src/announce.rs:677
Functionpositive_write_started_event
()
bip_utracker/src/announce.rs:638
Functionpositive_write_state
()
bip_utracker/src/announce.rs:595
Functionpositive_write_stopped_event
()
bip_utracker/src/announce.rs:651
Methodprotocol
Protocol that we want to connect to the peer with.
bip_handshake/src/message/initiate.rs:22
Methodread_file
(&self, file: &mut Self::File, offset: u64, buffer: &mut [u8])
bip_disk/test/mod.rs:192
Methodread_file
(&self, file: &mut NativeFile, offset: u64, buffer: &mut [u8])
bip_disk/src/disk/fs/native.rs:55
Methodread_file
(&self, file: &mut Self::File, offset: u64, buffer: &mut [u8])
bip_disk/src/disk/fs/cache/file_handle.rs:71
Methodread_option
(bytes: &'a [u8])
bip_utracker/src/option.rs:202
Methodreceived_message
(&mut self, message: &ExtendedMessage)
bip_peer/src/protocol/extension.rs:52
Methodreceived_message
(&mut self, _message: &M)
bip_peer/src/protocol/null.rs:47
Methodrecv_response
(&mut self, trans_id: &TransactionID, table: &
bip_dht/src/worker/bootstrap.rs:107
Methodrecv_timeout
(&mut self, trans_id: &TransactionID, table: &RoutingTab
bip_dht/src/worker/bootstrap.rs:143
Methodremove
(&mut self, key: &[u8])
bip_bencode/src/access/dict.rs:39
Methodremove
(&mut self, index: usize)
bip_bencode/src/access/list.rs:83
Methodremove_filter
(&self, filter: F)
bip_handshake/src/filter/mod.rs:32
Methodremove_filter
(&self, filter: F)
bip_handshake/src/handshake/handshaker.rs:207
Methodseeders
Number of seeders the tracker knows about for the torrent.
bip_utracker/src/announce.rs:230
Methodsender_ack
Create a new SplitSenderAck that can be used to ack sent messages.
bip_util/src/send/split_sender.rs:46
Methodsent_message
(&mut self, message: &ExtendedMessage)
bip_peer/src/protocol/extension.rs:58
Methodsent_message
(&mut self, _message: &M)
bip_peer/src/protocol/null.rs:49
Methodset_external_addr
Provide the DHT with our external address. If this is not supplied we will have to deduce this information from remote nodes. Purpose of the external
bip_dht/src/builder.rs:166
Methodsocket_addr
(&self)
bip_dht/src/router.rs:58
Functionsplit_sender
Create two SplitSenders over a single Sender with corresponding capacities.
bip_util/src/send/split_sender.rs:7
Methodstart_at
Create a new LocallyShuffledIds struct at the starting value.
bip_util/src/trans/locally_shuffled.rs:35
Methodstart_at
Create a new SequentialIds struct at the starting value.
bip_util/src/trans/sequential.rs:21
Methodstart_send
(&mut self, item: Self::SinkItem)
bip_peer/src/manager/mod.rs:90
Methodstart_send
(&mut self, item: HandshakeMessage)
bip_handshake/src/bittorrent/framed.rs:47
Methodstart_send
(&mut self, item: InitiateMessage)
bip_handshake/src/handshake/handshaker.rs:183
Methodstart_send
(&mut self, item: Self::SinkItem)
bip_select/src/discovery/ut_metadata.rs:501
Methodstart_send
(&mut self, item: Self::SinkItem)
bip_select/src/revelation/honest.rs:185
Methodstart_send
(&mut self, item: Self::SinkItem)
bip_utracker/test/mod.rs:178
Methodstr
(&self)
bip_bencode/src/mutable/bencode_mut.rs:77
Methodsync_file
(&self, _path: P)
bip_disk/test/mod.rs:179
Methodsync_file
(&self, _path: P)
bip_disk/src/disk/fs/native.rs:46
Methodsync_file
(&self, path: P)
bip_disk/src/disk/fs/cache/file_handle.rs:55
Functiontest_filter_all
()
bip_handshake/test/test_filter_block_all.rs:30
Functiontest_filter_all
()
bip_handshake/test/test_filter_allow_all.rs:30
Functiontest_filter_whitelist_diff_data
()
bip_handshake/test/test_filter_whitelist_diff_data.rs:44
Functiontest_filter_whitelist_same_data
()
bip_handshake/test/test_filter_whitelist_same_data.rs:44
Functiontest_tpb
()
bip_magnet/src/lib.rs:171
Functiontest_wikipedia
()
bip_magnet/src/lib.rs:142
Methodtheir_ip
Retrieve their ip address from the message.
bip_peer/src/message/bits_ext/handshake.rs:294
Methodtimeout
(&mut self, event_loop: &mut EventLoop<DhtHandler<H>>, data: (u64, ScheduledTask))
bip_dht/src/worker/handler.rs:196
Methodtimeout
(&mut self, _: Provider<'a, Self>, _: ())
bip_utracker/src/server/dispatcher.rs:181
Methodto_owned
Create an owned version of CompactPeers.
bip_utracker/src/contact.rs:64
Methodto_owned
Create an owned version of ScrapeRequest.
bip_utracker/src/scrape.rs:101
Methodto_owned
Create an owned version of AnnounceOptions.
bip_utracker/src/option.rs:102
Methodto_owned
Create an owned version of the RequestType.
bip_utracker/src/request.rs:26
Methodto_owned
Create an owned version of the ResponseType.
bip_utracker/src/response.rs:26
Methodto_owned
Create an owned version of AnnounceRequest.
bip_utracker/src/announce.rs:134
Methodtoken
(&self)
bip_dht/src/message/announce_peer.rs:89
Methodtoken
Access the request token corresponding to this metadata.
bip_utracker/src/client/mod.rs:48
Methodtotal_size
(&self)
bip_peer/src/message/prot_ext/ut_metadata.rs:160
Methodtrackers
List of announce urls.
bip_metainfo/src/metainfo.rs:43
Methodtransaction_id
(&self)
bip_dht/src/message/get_peers.rs:44
Methodtransaction_id
(&self)
bip_dht/src/message/get_data.rs:15
Methodtransaction_id
(&'b self)
bip_dht/src/message/error.rs:125
Methodtransaction_id
(&self)
bip_dht/src/message/find_node.rs:46
Methodtransaction_id
(&self)
bip_dht/src/message/announce_peer.rs:77
Methodtransaction_id
(&self)
bip_dht/src/message/put_data.rs:15
Methodtry_send
(&self, data: T)
bip_util/src/send/split_sender.rs:68
Methodtry_send
(&self, data: T)
bip_util/src/send/mod.rs:19
Methodunpack
Unpack all values T and pass them to the given closure.
bip_util/src/contiguous.rs:80
Methodupdate_ours
(&mut self, message: ExtendedMessage)
bip_select/src/extended/mod.rs:53
Methodvalidate_node_id
(&self, node_id: &[u8])
bip_dht/src/message/response.rs:24
Methodwith_buffer
Create a new ContiguousBuffers struct with an initial element.
bip_util/src/contiguous.rs:70
Methodwith_builder
Start the MainlineDht with the given DhtBuilder and Handshaker.
bip_dht/src/builder.rs:21
Methodwith_builder
(builder: &HandshakerBuilder, transport: T, handle: Handle)
bip_handshake/src/handshake/handshaker.rs:140
Methodwith_bytes
(piece: i64, bytes: Bytes)
bip_peer/src/message/prot_ext/ut_metadata.rs:90
Methodwith_bytes
Create a new `Extensions` using the given bytes directly.
bip_handshake/src/message/extensions.rs:81
Methodwith_capacity
Create a new TrackerClient with the given message capacity. Panics if capacity == usize::max_value().
bip_utracker/src/client/mod.rs:117
Methodwith_custom_entry
Set a custom entry in the message with the given dictionary key.
bip_peer/src/message/bits_ext/handshake.rs:90
Methodwith_default_hash
(piece_index: u64, block_offset: u64, block_length: usize)
bip_disk/src/memory/block.rs:24
Methodwith_directory
Initialize a new `NativeFileSystem` with the default directory set.
bip_disk/src/disk/fs/native.rs:29
Methodwith_handshake_timeout
Sets the handshake timeout that `Handshaker` uses to make sure peers dont take too long to respond to us.
bip_handshake/src/handshake/config.rs:47
Methodwith_heartbeat_interval
Interval at which we send keep-alive messages.
bip_peer/src/manager/builder.rs:57
Methodwith_heartbeat_timeout
Timeout at which we disconnect from the peer without seeing a keep-alive message.
bip_peer/src/manager/builder.rs:63
Methodwith_index
Create a `LengthError` for a given element index.
bip_util/src/error.rs:34
Methodwith_max_payload
Create a new `PeerProtocolCodec` which will yield an error if receiving a payload larger than the specified `max_payload`.
bip_peer/src/codec.rs:28
Methodwith_max_requests
Set the maximum number of queued requests we support.
bip_peer/src/message/bits_ext/handshake.rs:78
Methodwith_metadata_size
Set the info dictionary metadata size.
bip_peer/src/message/bits_ext/handshake.rs:84
← previousnext →1,301–1,400 of 1,430, ranked by callers