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
Function
positive_write_peer_v4
()
bip_utracker/src/contact.rs:376
Function
positive_write_peer_v6
()
bip_utracker/src/contact.rs:470
Function
positive_write_peers_v4
()
bip_utracker/src/contact.rs:389
Function
positive_write_peers_v6
()
bip_utracker/src/contact.rs:484
Function
positive_write_request
()
bip_utracker/src/announce.rs:532
Function
positive_write_request_empty
()
bip_utracker/src/scrape.rs:275
Function
positive_write_request_many_hashes
()
bip_utracker/src/scrape.rs:300
Function
positive_write_request_single_hash
()
bip_utracker/src/scrape.rs:287
Function
positive_write_response
()
bip_utracker/src/announce.rs:572
Function
positive_write_response_empty
()
bip_utracker/src/scrape.rs:319
Function
positive_write_response_many_stats
()
bip_utracker/src/scrape.rs:349
Function
positive_write_response_single_stat
()
bip_utracker/src/scrape.rs:331
Function
positive_write_single_buffer_completely_filled
()
bip_util/src/contiguous.rs:156
Function
positive_write_single_buffer_partially_filled
()
bip_util/src/contiguous.rs:146
Function
positive_write_single_option
()
bip_utracker/src/option.rs:245
Function
positive_write_source_ipv4_explicit
()
bip_utracker/src/announce.rs:691
Function
positive_write_source_ipv4_implied
()
bip_utracker/src/announce.rs:664
Function
positive_write_source_ipv6_explicit
()
bip_utracker/src/announce.rs:704
Function
positive_write_source_ipv6_implied
()
bip_utracker/src/announce.rs:677
Function
positive_write_started_event
()
bip_utracker/src/announce.rs:638
Function
positive_write_state
()
bip_utracker/src/announce.rs:595
Function
positive_write_stopped_event
()
bip_utracker/src/announce.rs:651
Method
protocol
Protocol that we want to connect to the peer with.
bip_handshake/src/message/initiate.rs:22
Method
read_file
(&self, file: &mut Self::File, offset: u64, buffer: &mut [u8])
bip_disk/test/mod.rs:192
Method
read_file
(&self, file: &mut NativeFile, offset: u64, buffer: &mut [u8])
bip_disk/src/disk/fs/native.rs:55
Method
read_file
(&self, file: &mut Self::File, offset: u64, buffer: &mut [u8])
bip_disk/src/disk/fs/cache/file_handle.rs:71
Method
read_option
(bytes: &'a [u8])
bip_utracker/src/option.rs:202
Method
received_message
(&mut self, message: &ExtendedMessage)
bip_peer/src/protocol/extension.rs:52
Method
received_message
(&mut self, _message: &M)
bip_peer/src/protocol/null.rs:47
Method
recv_response
(&mut self, trans_id: &TransactionID, table: &
bip_dht/src/worker/bootstrap.rs:107
Method
recv_timeout
(&mut self, trans_id: &TransactionID, table: &RoutingTab
bip_dht/src/worker/bootstrap.rs:143
Method
remove
(&mut self, key: &[u8])
bip_bencode/src/access/dict.rs:39
Method
remove
(&mut self, index: usize)
bip_bencode/src/access/list.rs:83
Method
remove_filter
(&self, filter: F)
bip_handshake/src/filter/mod.rs:32
Method
remove_filter
(&self, filter: F)
bip_handshake/src/handshake/handshaker.rs:207
Method
seeders
Number of seeders the tracker knows about for the torrent.
bip_utracker/src/announce.rs:230
Method
sender_ack
Create a new SplitSenderAck that can be used to ack sent messages.
bip_util/src/send/split_sender.rs:46
Method
sent_message
(&mut self, message: &ExtendedMessage)
bip_peer/src/protocol/extension.rs:58
Method
sent_message
(&mut self, _message: &M)
bip_peer/src/protocol/null.rs:49
Method
set_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
Method
socket_addr
(&self)
bip_dht/src/router.rs:58
Function
split_sender
Create two SplitSenders over a single Sender with corresponding capacities.
bip_util/src/send/split_sender.rs:7
Method
start_at
Create a new LocallyShuffledIds struct at the starting value.
bip_util/src/trans/locally_shuffled.rs:35
Method
start_at
Create a new SequentialIds struct at the starting value.
bip_util/src/trans/sequential.rs:21
Method
start_send
(&mut self, item: Self::SinkItem)
bip_peer/src/manager/mod.rs:90
Method
start_send
(&mut self, item: HandshakeMessage)
bip_handshake/src/bittorrent/framed.rs:47
Method
start_send
(&mut self, item: InitiateMessage)
bip_handshake/src/handshake/handshaker.rs:183
Method
start_send
(&mut self, item: Self::SinkItem)
bip_select/src/discovery/ut_metadata.rs:501
Method
start_send
(&mut self, item: Self::SinkItem)
bip_select/src/revelation/honest.rs:185
Method
start_send
(&mut self, item: Self::SinkItem)
bip_utracker/test/mod.rs:178
Method
str
(&self)
bip_bencode/src/mutable/bencode_mut.rs:77
Method
sync_file
(&self, _path: P)
bip_disk/test/mod.rs:179
Method
sync_file
(&self, _path: P)
bip_disk/src/disk/fs/native.rs:46
Method
sync_file
(&self, path: P)
bip_disk/src/disk/fs/cache/file_handle.rs:55
Function
test_filter_all
()
bip_handshake/test/test_filter_block_all.rs:30
Function
test_filter_all
()
bip_handshake/test/test_filter_allow_all.rs:30
Function
test_filter_whitelist_diff_data
()
bip_handshake/test/test_filter_whitelist_diff_data.rs:44
Function
test_filter_whitelist_same_data
()
bip_handshake/test/test_filter_whitelist_same_data.rs:44
Function
test_tpb
()
bip_magnet/src/lib.rs:171
Function
test_wikipedia
()
bip_magnet/src/lib.rs:142
Method
their_ip
Retrieve their ip address from the message.
bip_peer/src/message/bits_ext/handshake.rs:294
Method
timeout
(&mut self, event_loop: &mut EventLoop<DhtHandler<H>>, data: (u64, ScheduledTask))
bip_dht/src/worker/handler.rs:196
Method
timeout
(&mut self, _: Provider<'a, Self>, _: ())
bip_utracker/src/server/dispatcher.rs:181
Method
to_owned
Create an owned version of CompactPeers.
bip_utracker/src/contact.rs:64
Method
to_owned
Create an owned version of ScrapeRequest.
bip_utracker/src/scrape.rs:101
Method
to_owned
Create an owned version of AnnounceOptions.
bip_utracker/src/option.rs:102
Method
to_owned
Create an owned version of the RequestType.
bip_utracker/src/request.rs:26
Method
to_owned
Create an owned version of the ResponseType.
bip_utracker/src/response.rs:26
Method
to_owned
Create an owned version of AnnounceRequest.
bip_utracker/src/announce.rs:134
Method
token
(&self)
bip_dht/src/message/announce_peer.rs:89
Method
token
Access the request token corresponding to this metadata.
bip_utracker/src/client/mod.rs:48
Method
total_size
(&self)
bip_peer/src/message/prot_ext/ut_metadata.rs:160
Method
trackers
List of announce urls.
bip_metainfo/src/metainfo.rs:43
Method
transaction_id
(&self)
bip_dht/src/message/get_peers.rs:44
Method
transaction_id
(&self)
bip_dht/src/message/get_data.rs:15
Method
transaction_id
(&'b self)
bip_dht/src/message/error.rs:125
Method
transaction_id
(&self)
bip_dht/src/message/find_node.rs:46
Method
transaction_id
(&self)
bip_dht/src/message/announce_peer.rs:77
Method
transaction_id
(&self)
bip_dht/src/message/put_data.rs:15
Method
try_send
(&self, data: T)
bip_util/src/send/split_sender.rs:68
Method
try_send
(&self, data: T)
bip_util/src/send/mod.rs:19
Method
unpack
Unpack all values T and pass them to the given closure.
bip_util/src/contiguous.rs:80
Method
update_ours
(&mut self, message: ExtendedMessage)
bip_select/src/extended/mod.rs:53
Method
validate_node_id
(&self, node_id: &[u8])
bip_dht/src/message/response.rs:24
Method
with_buffer
Create a new ContiguousBuffers struct with an initial element.
bip_util/src/contiguous.rs:70
Method
with_builder
Start the MainlineDht with the given DhtBuilder and Handshaker.
bip_dht/src/builder.rs:21
Method
with_builder
(builder: &HandshakerBuilder, transport: T, handle: Handle)
bip_handshake/src/handshake/handshaker.rs:140
Method
with_bytes
(piece: i64, bytes: Bytes)
bip_peer/src/message/prot_ext/ut_metadata.rs:90
Method
with_bytes
Create a new `Extensions` using the given bytes directly.
bip_handshake/src/message/extensions.rs:81
Method
with_capacity
Create a new TrackerClient with the given message capacity. Panics if capacity == usize::max_value().
bip_utracker/src/client/mod.rs:117
Method
with_custom_entry
Set a custom entry in the message with the given dictionary key.
bip_peer/src/message/bits_ext/handshake.rs:90
Method
with_default_hash
(piece_index: u64, block_offset: u64, block_length: usize)
bip_disk/src/memory/block.rs:24
Method
with_directory
Initialize a new `NativeFileSystem` with the default directory set.
bip_disk/src/disk/fs/native.rs:29
Method
with_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
Method
with_heartbeat_interval
Interval at which we send keep-alive messages.
bip_peer/src/manager/builder.rs:57
Method
with_heartbeat_timeout
Timeout at which we disconnect from the peer without seeing a keep-alive message.
bip_peer/src/manager/builder.rs:63
Method
with_index
Create a `LengthError` for a given element index.
bip_util/src/error.rs:34
Method
with_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
Method
with_max_requests
Set the maximum number of queued requests we support.
bip_peer/src/message/bits_ext/handshake.rs:78
Method
with_metadata_size
Set the info dictionary metadata size.
bip_peer/src/message/bits_ext/handshake.rs:84
← previous
next →
1,301–1,400 of 1,430, ranked by callers