MCPcopy Create free account

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

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

Methodlog
(&self, record: &LogRecord)
bip_dht/examples/debug.rs:24
Methodlookup_and_convert_bytes_ext
See BConvert::lookup_and_convert_bytes.
bip_bencode/src/access/convert.rs:28
Methodlookup_and_convert_str_ext
See BConvert::lookup_and_convert_str.
bip_bencode/src/access/convert.rs:35
Methodlookup_mut
(&mut self, key: &[u8])
bip_bencode/src/access/dict.rs:31
Functionmain
()
bip_peer/examples/sequential.rs:3
Functionmain
()
bip_dht/examples/debug.rs:70
Functionmain
()
bip_disk/examples/add_torrent.rs:13
Functionmain
()
bip_metainfo/examples/create_torrent.rs:14
Functionmain
()
bip_handshake/examples/handshake_torrent.rs:15
Functionmain
()
examples/simple_torrent/src/main.rs:98
Functionmain
()
examples/get_metadata/src/main.rs:85
Functionmap_ipv4
(addr: SocketAddr)
bip_dht/src/router.rs:78
Functionmap_ipv6
(addr: SocketAddr)
bip_dht/src/router.rs:85
Methodmd5sum
Optional md5sum of the file. Not used by bittorrent.
bip_metainfo/src/metainfo.rs:389
Methodmessage
Message describing the error that occured.
bip_utracker/src/error.rs:35
Methodmessage_size
(&mut self, message: &Self::ProtocolMessage)
bip_peer/src/protocol/wire.rs:54
Methodmessage_size
(&mut self, message: &Self::ProtocolMessage)
bip_peer/src/protocol/extension.rs:46
Methodmessage_size
(&mut self, _message: &Self::ProtocolMessage)
bip_peer/src/protocol/unit.rs:33
Methodmessage_size
(&mut self, _message: &Self::ProtocolMessage)
bip_peer/src/protocol/null.rs:41
Methodmessage_size
(&self, ext_protocol: &mut P)
bip_peer/src/message/mod.rs:139
Methodmessage_size
(&self)
bip_peer/src/message/bits_ext/mod.rs:54
Methodmessage_size
(&self)
bip_peer/src/message/prot_ext/ut_metadata.rs:62
Methodmetadata
(&mut self, _data: ())
examples/get_metadata/src/main.rs:80
Methodmetadata_size
Retrieve the info dictionary metadata size from the message.
bip_peer/src/message/bits_ext/handshake.rs:314
Methodneeds_refresh
Indicates if the bucket needs to be refreshed.
bip_dht/src/routing/bucket.rs:58
Functionnegative_all_pieces_good_found_good_piece_out_of_range
()
bip_select/src/revelation/honest.rs:407
Functionnegative_create_overflow_protocol
()
bip_handshake/src/bittorrent/message.rs:173
Functionnegative_decode_bytes_extra
()
bip_bencode/src/reference/decode.rs:308
Functionnegative_decode_bytes_neg_len
()
bip_bencode/src/reference/decode.rs:302
Functionnegative_decode_bytes_not_utf8
()
bip_bencode/src/reference/decode.rs:314
Functionnegative_decode_dict_dup_keys_diff_data
()
bip_bencode/src/reference/decode.rs:364
Functionnegative_decode_dict_dup_keys_same_data
()
bip_bencode/src/reference/decode.rs:358
Functionnegative_decode_dict_unordered_keys
()
bip_bencode/src/reference/decode.rs:352
Functionnegative_decode_int_double_negative
()
bip_bencode/src/reference/decode.rs:346
Functionnegative_decode_int_double_zero
()
bip_bencode/src/reference/decode.rs:334
Functionnegative_decode_int_leading_zero
()
bip_bencode/src/reference/decode.rs:328
Functionnegative_decode_int_nan
()
bip_bencode/src/reference/decode.rs:322
Functionnegative_decode_int_negative_zero
()
bip_bencode/src/reference/decode.rs:340
Functionnegative_dont_send_empty_bitfield
()
bip_select/src/revelation/honest.rs:355
Functionnegative_finish_after_timeout
()
bip_handshake/src/handshake/handler/timer.rs:42
Functionnegative_found_good_piece_out_of_range
()
bip_select/src/revelation/honest.rs:381
Functionnegative_from_hash_too_long
()
bip_util/src/sha/mod.rs:231
Functionnegative_from_hash_too_short
()
bip_util/src/sha/mod.rs:239
Functionnegative_merge_duplicate_messages_diff_hash
()
bip_disk/src/disk/tasks/helpers/piece_checker.rs:316
Functionnegative_merge_duplicate_messages_diff_index
()
bip_disk/src/disk/tasks/helpers/piece_checker.rs:326
Functionnegative_node_id_equal_table_id
()
bip_dht/src/routing/table.rs:625
Functionnegative_parse_above_max_payload
()
bip_peer/src/codec.rs:110
Functionnegative_parse_empty_v4_source
()
bip_utracker/src/announce.rs:1010
Functionnegative_parse_empty_v6_source
()
bip_utracker/src/announce.rs:1019
Functionnegative_parse_from_empty_bytes
()
bip_metainfo/src/metainfo.rs:823
Functionnegative_parse_from_single_file_with_no_file_length
()
bip_metainfo/src/metainfo.rs:873
Functionnegative_parse_from_single_file_with_no_file_name
()
bip_metainfo/src/metainfo.rs:894
Functionnegative_parse_incomplete_state
()
bip_utracker/src/announce.rs:881
Functionnegative_parse_incomplete_v4_source
()
bip_utracker/src/announce.rs:992
Functionnegative_parse_incomplete_v6_source
()
bip_utracker/src/announce.rs:1001
Functionnegative_parse_no_event
()
bip_utracker/src/announce.rs:928
Functionnegative_parse_request_missing_key
()
bip_utracker/src/announce.rs:780
Functionnegative_parse_url_data_incomplete
()
bip_utracker/src/option.rs:461
Functionnegative_parse_url_data_unterminated
()
bip_utracker/src/option.rs:470
Functionnegative_parse_with_no_piece_length
()
bip_metainfo/src/metainfo.rs:829
Functionnegative_parse_with_no_pieces
()
bip_metainfo/src/metainfo.rs:852
Functionnegative_reject_expired_v4_token
()
bip_dht/src/token.rs:257
Functionnegative_reject_expired_v6_token
()
bip_dht/src/token.rs:272
Methodnew
Create a new `BDecodeOpt` object.
bip_bencode/src/reference/decode_opt.rs:17
Methodnew
(inner: InnerBencodeMut<'a>)
bip_bencode/src/mutable/bencode_mut.rs:30
Methodnew
Create a new `PeerProtocolCodec`. It is strongly recommended to use `PeerProtocolCodec::with_max_payload` instead of this function, as this function
bip_peer/src/codec.rs:22
Methodnew
Create a new `PeerWireProtocol` with the given extension protocol. Important to note that nested protocol should follow the same message length forma
bip_peer/src/protocol/wire.rs:19
Methodnew
Create a new `PeerExtensionProtocol` with the given (nested) custom extension protocol. Notes for `PeerWireProtocol` apply to this custom extension p
bip_peer/src/protocol/extension.rs:19
Methodnew
Create a new `UnitProtocol`.
bip_peer/src/protocol/unit.rs:12
Methodnew
Create a new `NullProtocol`.
bip_peer/src/protocol/null.rs:20
Methodnew
(piece_index: u32)
bip_peer/src/message/standard.rs:16
Methodnew
(port: u16)
bip_peer/src/message/bits_ext/port.rs:18
Methodnew
Create a new `ExtendedMessageBuilder`.
bip_peer/src/message/bits_ext/handshake.rs:32
Methodnew
(piece: i64)
bip_peer/src/message/prot_ext/ut_metadata.rs:81
Methodnew
Create a new `PeerInfo` object.
bip_peer/src/manager/peer_info.rs:23
Methodnew
(handle: Handle, timer: Timer, build: PeerManagerBuilder, send: Sender<OPeerManagerMessage<P::Item>
bip_peer/src/manager/mod.rs:130
Methodnew
Create a new `PeerManagerBuilder`.
bip_peer/src/manager/builder.rs:28
Methodnew
Create a new `PersistentStream`.
bip_peer/src/manager/future/mod.rs:33
Methodnew
()
bip_dht/src/transaction.rs:69
Methodnew
(bytes: &[u8])
bip_dht/src/token.rs:37
Methodnew
Create a new DhtBuilder. This should not be used directly, force the user to supply builder with some initial bootstrap method.
bip_dht/src/builder.rs:106
Methodnew
Create a new AnnounceStorage object.
bip_dht/src/storage.rs:18
Methodnew
(id_generator: MIDGenerator)
bip_dht/src/worker/refresh.rs:30
Methodnew
(table: RoutingTable, out: SyncSender<(Vec<u8>, SocketAddr)>, read_only: bool,
bip_dht/src/worker/handler.rs:133
Methodnew
(table_id: NodeId, id_generator: MIDGenerator, nodes: Vec<SocketAddr>,
bip_dht/src/worker/bootstrap.rs:44
Methodnew
(table_id: NodeId, target_id: InfoHash, id_generator: MIDGenerator,
bip_dht/src/worker/lookup.rs:66
Methodnew
(nodes: &'a [u8])
bip_dht/src/message/compact_info.rs:22
Methodnew
(trans_id: &'a [u8], node_id: NodeId, info_hash: InfoHash)
bip_dht/src/message/get_peers.rs:20
Methodnew
(trans_id: &'a [u8], node_id: NodeId)
bip_dht/src/message/ping.rs:18
Methodnew
(message: &'a Bencode<'a>, trans_mapper: T)
bip_dht/src/message/mod.rs:63
Methodnew
(trans_id: &'a [u8])
bip_dht/src/message/request.rs:29
Methodnew
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/get_data.rs:11
Methodnew
(trans_id: &'a [u8])
bip_dht/src/message/response.rs:20
Methodnew
(code: u8)
bip_dht/src/message/error.rs:28
Methodnew
(trans_id: &'a [u8], node_id: NodeId, target_id: NodeId)
bip_dht/src/message/find_node.rs:18
Methodnew
(trans_id: &'a [u8], node_id: NodeId, info_hash: InfoHash, token:
bip_dht/src/message/announce_peer.rs:32
Methodnew
(rqst_root: &Dictionary<'a, Bencode<'a>>, trans_id: &'a [u8])
bip_dht/src/message/put_data.rs:11
Methodnew
Create a new Bucket with all Nodes default initialized.
bip_dht/src/routing/bucket.rs:22
Methodnew
Create a new RoutingTable with the given node id as our id.
bip_dht/src/routing/table.rs:27
Methodnew
(dir: PathBuf, files: Vec<(Vec<u8>, PathBuf)>)
bip_disk/test/mod.rs:98
← previousnext →801–900 of 1,430, ranked by callers