MCPcopy Create free account

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

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

Methodnew
(info_hash: InfoHash, piece_index: u64, block_offset: u64, block_length: usize)
bip_disk/src/memory/block.rs:19
Methodnew
(pool: CpuPool, context: DiskManagerContext<F>, max_capacity: usize, cur_capacity: Arc<AtomicUsize>
bip_disk/src/disk/manager.rs:90
Methodnew
Create a new `DiskManagerBuilder`.
bip_disk/src/disk/builder.rs:18
Methodnew
(file: Metainfo, state: PieceCheckerState)
bip_disk/src/disk/tasks/context.rs:25
Methodnew
(fs: F, info_dict: &'a Info)
bip_disk/src/disk/tasks/helpers/piece_accessor.rs:16
Methodnew
Create a new PieceCheckerState.
bip_disk/src/disk/tasks/helpers/piece_checker.rs:165
Methodnew
Create a new NativeFile.
bip_disk/src/disk/fs/native.rs:17
Methodnew
Create a new `FileHandleCache` with the given handle capacity and an inner `FileSystem` which will be called for handles not in the cache.
bip_disk/src/disk/fs/cache/file_handle.rs:22
Methodnew
Create a new FileAccessor from the given file/directory path.
bip_metainfo/src/accessor.rs:77
Methodnew
(files: &'a [File])
bip_metainfo/src/iter.rs:14
Methodnew
Create a new queue filled with a number of piece buffers based on the number of workers.
bip_metainfo/src/builder/buffer.rs:16
Methodnew
Create a new MetainfoBuilder with some default values set.
bip_metainfo/src/builder/mod.rs:60
Methodnew
()
bip_metainfo/src/builder/worker.rs:228
Methodnew
(listen_addr: SocketAddr, listener: L)
bip_handshake/src/transport.rs:60
Methodnew
(sock: S)
bip_handshake/src/bittorrent/framed.rs:32
Methodnew
()
bip_handshake/src/filter/filters.rs:12
Methodnew
Create a new `CompleteMessage` over the given socket S.
bip_handshake/src/message/complete.rs:20
Methodnew
Create a new `InitiateMessage`.
bip_handshake/src/message/initiate.rs:17
Methodnew
Create a new `Extensions` with zero extensions.
bip_handshake/src/message/extensions.rs:23
Methodnew
Create a new `HandshakerBuilder`.
bip_handshake/src/handshake/handshaker.rs:44
Methodnew
(item: (S, SocketAddr), context: &Filters)
bip_handshake/src/handshake/handler/listener.rs:15
Methodnew
(timer: Timer, duration: Duration)
bip_handshake/src/handshake/handler/timer.rs:13
Methodnew
Create a new `UberModuleBuilder`.
bip_select/src/uber.rs:56
Methodnew
(ours: Option<ExtendedMessage>, theirs: Option<ExtendedMessage>)
bip_select/src/extended/mod.rs:46
Methodnew
Create a new `UtMetadataModule`.
bip_select/src/discovery/ut_metadata.rs:83
Methodnew
Create a new `HonestRevelationModule`.
bip_select/src/revelation/honest.rs:41
Methodnew
Create a new empty ContiguousBuffers struct.
bip_util/src/contiguous.rs:65
Methodnew
Create a `LengthError`.
bip_util/src/error.rs:25
Methodnew
(bytes: &'a [u8])
bip_util/src/sha/mod.rs:143
Methodnew
Create a new `ShaHashBuilder`.
bip_util/src/sha/builder.rs:14
Methodnew
Create a new LocallyShuffledIds struct.
bip_util/src/trans/locally_shuffled.rs:30
Methodnew
Create a new SequentialIds struct.
bip_util/src/trans/sequential.rs:16
Methodnew
Create a new `SplitSender`.
bip_util/src/send/split_sender.rs:37
Methodnew
(sink: S)
examples/get_metadata/src/main.rs:50
Methodnew
()
bip_utracker/test/mod.rs:46
Methodnew
Create a new CompactPeersIter.
bip_utracker/src/contact.rs:89
Methodnew
Create a new ScrapeStats.
bip_utracker/src/scrape.rs:22
Methodnew
Create a new set of AnnounceOptions.
bip_utracker/src/option.rs:40
Methodnew
Create a new TrackerRequest.
bip_utracker/src/request.rs:47
Methodnew
Create a new TrackerResponse.
bip_utracker/src/response.rs:44
Methodnew
Create a new AnnounceRequest.
bip_utracker/src/announce.rs:41
Methodnew
Create a new ErrorResponse.
bip_utracker/src/error.rs:16
Methodnew
Create a new ClientDispatcher.
bip_utracker/src/client/dispatcher.rs:95
Methodnew
Create a new ClientMetadata container.
bip_utracker/src/client/mod.rs:40
Methodnew
Create a new ServerDispatcher.
bip_utracker/src/server/dispatcher.rs:59
Methodnew_bytes
Create a new `BencodeMut` representing a `[u8]`.
bip_bencode/src/mutable/bencode_mut.rs:40
Methodnew_dict
Create a new `BencodeMut` representing a `BDictAccess`.
bip_bencode/src/mutable/bencode_mut.rs:50
Methodnew_int
Create a new `BencodeMut` representing an `i64`.
bip_bencode/src/mutable/bencode_mut.rs:35
Methodnew_list
Create a new `BencodeMut` representing a `BListAccess`.
bip_bencode/src/mutable/bencode_mut.rs:45
Methodnext
(&mut self)
bip_bencode/src/access/list.rs:63
Methodnext
(&mut self)
bip_peer/src/message/standard.rs:100
Methodnext
(&mut self)
bip_dht/src/message/compact_info.rs:57
Methodnext
(&mut self)
bip_dht/src/routing/bucket.rs:116
Methodnext
(&mut self)
bip_utracker/src/contact.rs:97
Methodnode_id
(&self)
bip_dht/src/message/get_peers.rs:48
Methodnode_id
(&self)
bip_dht/src/message/find_node.rs:50
Methodnode_id
(&self)
bip_dht/src/message/announce_peer.rs:81
Methodnode_id
Return the node id of the RoutingTable.
bip_dht/src/routing/table.rs:37
Methodnodes
(&self)
bip_dht/src/message/compact_info.rs:31
Methodnotify
(&mut self, mut provider: Provider<'a, Self>, message: DispatchMessage)
bip_utracker/src/client/dispatcher.rs:304
Methodnotify
(&mut self, mut provider: Provider<'a, Self>, message: DispatchMessage)
bip_utracker/src/server/dispatcher.rs:175
Methodnum_active_connect_ids
(&self)
bip_utracker/test/mod.rs:52
Methodnum_want
Number of peers desired by the client.
bip_utracker/src/announce.rs:119
Methodon_addr
(&self, _opt_addr: Option<&SocketAddr>)
bip_handshake/test/test_filter_block_all.rs:22
Methodon_addr
(&self, _opt_addr: Option<&SocketAddr>)
bip_handshake/test/test_filter_allow_all.rs:22
Methodon_addr
Make a filter decision based on the peer `SocketAddr`.
bip_handshake/src/filter/mod.rs:61
Methodon_ext
(&self, _opt_ext: Option<&Extensions>)
bip_handshake/test/test_filter_block_all.rs:24
Methodon_ext
(&self, _opt_ext: Option<&Extensions>)
bip_handshake/test/test_filter_allow_all.rs:24
Methodon_hash
(&self, _opt_hash: Option<&InfoHash>)
bip_handshake/test/test_filter_whitelist_diff_data.rs:21
Methodon_hash
(&self, _opt_hash: Option<&InfoHash>)
bip_handshake/test/test_filter_block_all.rs:25
Methodon_hash
(&self, _opt_hash: Option<&InfoHash>)
bip_handshake/test/test_filter_allow_all.rs:25
Methodon_hash
(&self, _opt_hash: Option<&InfoHash>)
bip_handshake/test/test_filter_whitelist_same_data.rs:21
Methodon_pid
(&self, _opt_pid: Option<&PeerId>)
bip_handshake/test/test_filter_block_all.rs:26
Methodon_pid
(&self, _opt_pid: Option<&PeerId>)
bip_handshake/test/test_filter_allow_all.rs:26
Methodon_pid
Make a filter decision based on the `PeerId`.
bip_handshake/src/filter/mod.rs:73
Methodon_prot
(&self, _opt_prot: Option<&Protocol>)
bip_handshake/test/test_filter_block_all.rs:23
Methodon_prot
(&self, _opt_prot: Option<&Protocol>)
bip_handshake/test/test_filter_allow_all.rs:23
Methodon_prot
Make a filter decision based on the handshake `Protocol`.
bip_handshake/src/filter/mod.rs:64
Methodon_update
(&mut self, info: &PeerInfo, extended: &ExtendedPeerInfo)
bip_select/src/discovery/ut_metadata.rs:486
Methodopen_file
(&self, path: P)
bip_disk/src/disk/fs/native.rs:38
Methodopen_file
(&self, path: P)
bip_disk/src/disk/fs/cache/file_handle.rs:38
Methodoption_byte
()
bip_utracker/src/option.rs:194
Methodoption_length
(&self)
bip_utracker/src/option.rs:198
Methodoptions
Set of AnnounceOptions supplied in the request.
bip_utracker/src/announce.rs:129
Methodour_id
Retrieve our id from the message.
bip_peer/src/message/bits_ext/handshake.rs:284
Methodour_ipv4_addr
Retrieve our ipv4 address from the message.
bip_peer/src/message/bits_ext/handshake.rs:304
Methodour_ipv6_addr
Retrieve our ipv6 address from the message.
bip_peer/src/message/bits_ext/handshake.rs:299
Methodour_max_requests
Retrieve our max queued requests from the message.
bip_peer/src/message/bits_ext/handshake.rs:309
Methodour_tcp_port
Retrieve our tcp port from the message.
bip_peer/src/message/bits_ext/handshake.rs:289
Methodparse_bytes
(&mut self, bytes: Bytes)
bip_peer/src/protocol/wire.rs:31
Methodparse_bytes
(&mut self, bytes: Bytes)
bip_peer/src/protocol/extension.rs:31
Methodparse_bytes
(&mut self, _bytes: Bytes)
bip_peer/src/protocol/unit.rs:24
Methodparse_bytes
(&mut self, _bytes: Bytes)
bip_peer/src/protocol/null.rs:32
Methodparse_bytes
(bytes: Bytes, ext_protocol: &mut P)
bip_peer/src/message/mod.rs:113
Methodparse_bytes
(_input: (), bytes: Bytes)
bip_peer/src/message/standard.rs:20
Methodparse_bytes
(_input: (), bytes: Bytes)
bip_peer/src/message/bits_ext/mod.rs:41
Methodparse_bytes
(_input: (), bytes: Bytes)
bip_peer/src/message/bits_ext/port.rs:22
Methodparse_bytes
Parse an `ExtendedMessage` from some raw bencode of the given length.
bip_peer/src/message/bits_ext/handshake.rs:230
Methodparse_bytes
(bytes: Bytes, extended: &ExtendedMessage, custom_prot: &mut P)
bip_peer/src/message/prot_ext/mod.rs:32
Methodparse_bytes
(mut bytes: Bytes)
bip_peer/src/message/prot_ext/ut_metadata.rs:23
← previousnext →901–1,000 of 1,430, ranked by callers