MCPcopy Create free account

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

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

Methodeq
(&self, other: &Node)
bip_dht/src/routing/node.rs:162
Methodeq
(&self, other: &[u8])
bip_util/src/sha/mod.rs:65
Methoderror_code
(&self)
bip_dht/src/message/error.rs:129
Methoderror_message
(&'b self)
bip_dht/src/message/error.rs:133
Functionexecute_handshake
(item: HandshakeType<S>, context: &(Extensions, PeerId, Filters, HandshakeTimer))
bip_handshake/src/handshake/handler/handshaker.rs:19
Methodextensions
Retrieve the extensions supported by this peer.
bip_peer/src/manager/peer_info.rs:43
Methodextensions
Extensions that both you and the peer support.
bip_handshake/src/message/complete.rs:30
Methodfile_size
(&self, file: &Self::File)
bip_disk/test/mod.rs:184
Methodfile_size
(&self, file: &NativeFile)
bip_disk/src/disk/fs/native.rs:51
Methodfile_size
(&self, file: &Self::File)
bip_disk/src/disk/fs/cache/file_handle.rs:64
Methodfmt
(&self, f: &mut Formatter)
bip_dht/src/router.rs:93
Methodfmt
(&self, f: &mut Formatter)
bip_dht/src/routing/node.rs:189
Methodfrom
(error: TimeoutError<T>)
bip_peer/src/manager/future/mod.rs:16
Methodfrom
(token: [u8; sha::SHA_HASH_LEN])
bip_dht/src/token.rs:58
Methodfrom
(block: BlockMut)
bip_disk/src/memory/block.rs:77
Methodfrom
(info: Info)
bip_metainfo/src/metainfo.rs:89
Methodfrom
(bytes: [u8; NUM_EXTENSION_BYTES])
bip_handshake/src/message/extensions.rs:87
Methodfrom
(sha_hash: [u8; SHA_HASH_LEN])
bip_util/src/sha/mod.rs:59
Methodfrom_builder
Create an `ExtendedMessage` from an `ExtendedMessageBuilder`.
bip_peer/src/message/bits_ext/handshake.rs:216
Methodfrom_builder
Create a new `PeerManager` from the given `PeerManagerBuilder`.
bip_peer/src/manager/mod.rs:43
Methodfrom_builder
Create a `DiskManager` from the given `DiskManagerBuilder`.
bip_disk/src/disk/manager.rs:24
Methodfrom_builder
Create an `UberModule` from the given `UberModuleBuilder`.
bip_select/src/uber.rs:130
Methodfrom_bytes
Construct a transaction id from a series of bytes.
bip_dht/src/transaction.rs:210
Methodfrom_bytes
Read a `Metainfo` from metainfo file bytes.
bip_metainfo/src/metainfo.rs:29
Methodfrom_bytes
(bytes: &[u8])
bip_handshake/src/bittorrent/message.rs:31
Methodfrom_bytes
Create a `Protocol` from the given bytes.
bip_handshake/src/message/protocol.rs:19
Methodfrom_bytes
Create a new `Extensions` by parsing the given bytes.
bip_handshake/src/message/extensions.rs:28
Methodfrom_bytes
Create a ShaHash by hashing the given bytes.
bip_util/src/sha/mod.rs:20
Methodfrom_bytes
Construct a CompactPeersV4 from the given bytes.
bip_utracker/src/contact.rs:120
Methodfrom_bytes
Construct a ScrapeStats from the given bytes.
bip_utracker/src/scrape.rs:31
Methodfrom_bytes
Parse a set of AnnounceOptions from the given bytes.
bip_utracker/src/option.rs:45
Methodfrom_bytes
Create a new TrackerRequest from the given bytes.
bip_utracker/src/request.rs:56
Methodfrom_bytes
Create a new TrackerResponse from the given bytes.
bip_utracker/src/response.rs:52
Methodfrom_bytes
Construct the ClientState from the given bytes.
bip_utracker/src/announce.rs:292
Methodfrom_bytes
Construct an ErrorResponse from the given bytes.
bip_utracker/src/error.rs:21
Methodfrom_bytes_v4
Construct a CompactPeers::V4 from the given bytes.
bip_utracker/src/contact.rs:24
Methodfrom_bytes_v4
Construct an IPv4 AnnounceRequest from the given bytes.
bip_utracker/src/announce.rs:63
Methodfrom_bytes_v6
Construct a CompactPeers::V6 from the given bytes.
bip_utracker/src/contact.rs:33
Methodfrom_bytes_v6
Construct an IPv6 AnnounceRequest from the given bytes.
bip_utracker/src/announce.rs:68
Methodfrom_hash
Create a ShaHash directly from the given hash.
bip_util/src/sha/mod.rs:25
Methodfrom_id
Create an `ExtendedType` from the given identifier.
bip_peer/src/message/bits_ext/handshake.rs:180
Methodfrom_parts
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/get_peers.rs:28
Methodfrom_parts
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/ping.rs:25
Methodfrom_parts
(root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8], rqst_type
bip_dht/src/message/request.rs:76
Methodfrom_parts
(root: &'a Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8], rsp_ty
bip_dht/src/message/response.rs:101
Methodfrom_parts
(root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/error.rs:106
Methodfrom_parts
Create a FindNodeRequest from parts. The target_key argument is provided for cases where, due to forward compatibility, the target key we are interes
bip_dht/src/message/find_node.rs:30
Methodfrom_parts
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/announce_peer.rs:47
Methodfrom_parts
Create a new `HandshakeMessage` from the given components.
bip_handshake/src/bittorrent/message.rs:21
Methodfrom_socket_addr
Create a new IpAddr from the given SocketAddr.
bip_util/src/net.rs:12
Methodfrom_transaction_id
(trans_id: u64)
bip_dht/src/transaction.rs:248
Functiongenerate_compliant_id_ipv4
Generates an ipv4 address compliant node id.
bip_dht/src/security.rs:21
Methodget_comment
Get decoded value of comment key
bip_metainfo/src/builder/mod.rs:198
Methodget_created_by
Get decoded value of created-by key
bip_metainfo/src/builder/mod.rs:205
Methodget_creation_date
Get decoded value of creation-date key
bip_metainfo/src/builder/mod.rs:191
Methodget_info_hash
(&self)
bip_magnet/src/lib.rs:128
Methodget_main_tracker
Get decoded value of announce-url key
bip_metainfo/src/builder/mod.rs:184
Methodget_trackers
Get decoded value of announce-list key
bip_metainfo/src/builder/mod.rs:177
Methodgood_nodes
Iterator over all good nodes in the bucket.
bip_dht/src/routing/bucket.rs:41
Functiongood_nodes_filter
(node: &&Node)
bip_dht/src/routing/bucket.rs:109
Methodhandle_error
(&self, error: BencodeConvertError)
bip_peer/src/message/bencode.rs:18
Methodhandle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/mod.rs:48
Methodhandle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/request.rs:59
Methodhandle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/response.rs:73
Methodhandle_error
(&self, error: BencodeConvertError)
bip_dht/src/message/error.rs:77
Methodhash
(&self, state: &mut H)
bip_dht/src/routing/node.rs:168
Methodhash
Hash that we are interested in from the peer.
bip_handshake/src/message/initiate.rs:27
Methodid
Unique peer id used to identify ourselves to other peers.
bip_dht/examples/debug.rs:41
Methodid
(&self)
examples/get_metadata/src/main.rs:66
Methodincoming
(&mut self, mut provider: Provider<'a, Self>, message: &[u8],
bip_utracker/src/server/dispatcher.rs:163
Methodindex
(&self, index: usize)
bip_bencode/src/access/list.rs:27
Methodindex_mut
(&mut self, index: usize)
bip_bencode/src/access/list.rs:41
Methodinfo_hash
(&self)
bip_dht/src/message/get_peers.rs:52
Methodinfo_hash
(&self)
bip_dht/src/message/announce_peer.rs:85
Methodinit_state
Create the initial PieceCheckerState for the PieceChecker.
bip_disk/src/disk/tasks/helpers/piece_checker.rs:23
Methodinsert
(&mut self, index: usize, item: V)
bip_bencode/src/access/list.rs:91
Methodint
(&self)
bip_bencode/src/reference/bencode_ref.rs:78
Methodint
(&self)
bip_bencode/src/mutable/bencode_mut.rs:89
Methodinterval
Interval in seconds that clients should wait before re-announcing.
bip_utracker/src/announce.rs:220
Methodinto_accessor
(self)
bip_disk/test/mod.rs:107
Methodinto_accessor
(self)
bip_metainfo/src/metainfo.rs:215
Methodinto_parts
(self)
bip_disk/src/memory/block.rs:71
Methodinto_parts
Break the `DiskManager` into a sink and stream. The returned sink implements `Clone`.
bip_disk/src/disk/manager.rs:44
Methodinto_parts
(self)
bip_handshake/src/bittorrent/message.rs:50
Methodinto_parts
Break the `InitiateMessage` up into its parts.
bip_handshake/src/message/initiate.rs:37
Methodipv6_addr
(&self)
bip_dht/src/router.rs:50
Methodis_assorted
(&self)
bip_dht/src/routing/table.rs:207
Functionis_compliant_ipv4_addr
Compares the given ipv4 address against the given node id to see if the node id is valid.
bip_dht/src/security.rs:53
Methodis_ready
(&self)
bip_select/src/uber.rs:101
Methodis_sorted
(&self)
bip_dht/src/routing/table.rs:200
Functionit_works
()
bip_htracker/src/lib.rs:2
Functionit_works
()
bip_utp/src/lib.rs:2
Functionit_works
()
bip_lpd/src/lib.rs:2
Methodkeep_alive
()
bip_peer/src/message/mod.rs:91
Methodkey
Unique key randomized by the client that the server can use.
bip_utracker/src/announce.rs:114
Methodkind
(&'b self)
bip_bencode/src/reference/bencode_ref.rs:65
Methodkind_mut
(&'b mut self)
bip_bencode/src/mutable/bencode_mut.rs:119
Methodleechers
Number of leechers the tracker knows about for the torrent.
bip_utracker/src/announce.rs:225
Methodlist
(&self)
bip_bencode/src/mutable/bencode_mut.rs:103
Methodlocal_addr
(&self)
bip_handshake/src/local_addr.rs:13
← previousnext →701–800 of 1,430, ranked by callers