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
Method
with_node
Creates a DhtBuilder with an initial node for our routing table.
bip_dht/src/builder.rs:117
Method
with_open_port
Port that external peers should connect on. Defaults to the port that is being listened on (will only work if the host is not natted).
bip_handshake/src/handshake/handshaker.rs:71
Method
with_our_id
Set our client identification in the message.
bip_peer/src/message/bits_ext/handshake.rs:38
Method
with_our_ipv4_addr
Set our ipv4 address.
bip_peer/src/message/bits_ext/handshake.rs:72
Method
with_our_ipv6_addr
Set our ipv6 address.
bip_peer/src/message/bits_ext/handshake.rs:66
Method
with_our_tcp_port
Set our tcp port.
bip_peer/src/message/bits_ext/handshake.rs:54
Method
with_router
Creates a DhtBuilder with an initial router which will let us gather nodes if our routing table is ever empty. Difference between a node and a router
bip_dht/src/builder.rs:128
Method
with_sink_buffer_capacity
Capacity of pending sent messages.
bip_peer/src/manager/builder.rs:45
Method
with_sink_buffer_size
Sets the buffer size that the `HandshakeSink` uses internally to hold `InitiateMessage`s before they are processed.
bip_handshake/src/handshake/config.rs:26
Method
with_state
Create a new PieceChecker with the given state.
bip_disk/src/disk/tasks/helpers/piece_checker.rs:40
Method
with_stream_buffer_capacity
Capacity of pending received messages.
bip_peer/src/manager/builder.rs:51
Method
with_their_ip
Set the ip address that we see them as.
bip_peer/src/message/bits_ext/handshake.rs:60
Method
with_worker_config
Use a custom `Builder` for the `CpuPool`.
bip_disk/src/disk/builder.rs:24
Method
write_bytes
(&mut self, message: &Self::ProtocolMessage, writer: W)
bip_peer/src/protocol/wire.rs:42
Method
write_bytes
(&mut self, message: &Self::ProtocolMessage, writer: W)
bip_peer/src/protocol/extension.rs:38
Method
write_bytes
(&mut self, _message: &Self::ProtocolMessage, _writer: W)
bip_peer/src/protocol/unit.rs:28
Method
write_bytes
(&mut self, _message: &Self::ProtocolMessage, _writer: W)
bip_peer/src/protocol/null.rs:36
Method
write_bytes
(&self, writer: W, ext_protocol: &mut P)
bip_peer/src/message/mod.rs:120
Method
write_bytes
(&self, mut writer: W)
bip_peer/src/message/standard.rs:24
Method
write_bytes
(&self, writer: W)
bip_peer/src/message/bits_ext/mod.rs:45
Method
write_bytes
(&self, mut writer: W)
bip_peer/src/message/bits_ext/port.rs:30
Method
write_bytes
Write the `ExtendedMessage` out to the given writer.
bip_peer/src/message/bits_ext/handshake.rs:263
Method
write_bytes
(&self, mut writer: W, extended: &ExtendedMessage, custom_prot: &mut P)
bip_peer/src/message/prot_ext/mod.rs:39
Method
write_bytes
(&self, writer: W)
bip_peer/src/message/prot_ext/ut_metadata.rs:52
Method
write_bytes
Write the `Extensions` to the given writer.
bip_handshake/src/message/extensions.rs:62
Method
write_bytes
Write the TrackerRequest to the given writer.
bip_utracker/src/request.rs:61
Method
write_bytes
Write the TrackerResponse to the given writer.
bip_utracker/src/response.rs:57
Method
write_file
(&self, file: &mut Self::File, offset: u64, buffer: &[u8])
bip_disk/test/mod.rs:208
Method
write_file
(&self, file: &mut NativeFile, offset: u64, buffer: &[u8])
bip_disk/src/disk/fs/native.rs:61
Method
write_file
(&self, file: &mut Self::File, offset: u64, buffer: &[u8])
bip_disk/src/disk/fs/cache/file_handle.rs:78
← previous
1,401–1,430 of 1,430, ranked by callers