Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cabal-club/cable.rs
/ functions
Functions
300 in github.com/cabal-club/cable.rs
⨍
Functions
300
◇
Types & classes
56
Function
channel_time_range_request_to_bytes
()
cable/src/message.rs:1041
Function
client
Initiate the handshake over an asynchronous stream and run to completion.
handshake/src/async_std/handshake.rs:16
Method
close_channel
Create a cancel request for all active outbound channel time range requests originating locally and matching the given channel name. Broadcast the can
cable_core/src/manager.rs:232
Method
count_bytes
Calculate the total number of bytes comprising the encoded post.
cable/src/post.rs:689
Method
count_from_bytes
(buf: &[u8])
cable/src/post.rs:731
Method
count_from_bytes
Calculate the total number of bytes comprising the buffer.
cable/src/message.rs:511
Method
count_from_bytes
(_buf: &[u8])
desert/src/lib.rs:292
Method
count_from_bytes_be
(_buf: &[u8])
desert/src/lib.rs:302
Method
count_from_bytes_be_more
Return how many bytes from `buf` would be required to deserialize Self in big endian, where if there are not enough bytes in `buf` to know how many by
desert/src/lib.rs:134
Method
count_from_bytes_le
(_buf: &[u8])
desert/src/lib.rs:312
Method
count_from_bytes_le_more
Return how many bytes from `buf` would be required to deserialize Self in little endian, where if there are not enough bytes in `buf` to know how many
desert/src/lib.rs:153
Method
count_from_bytes_more
Return how many bytes from `buf` would be required to deserialize Self, where if there are not enough bytes in `buf` to know how many bytes would be r
desert/src/lib.rs:115
Function
criterion_benchmark
(c: &mut Criterion)
handshake/benches/message_sync.rs:102
Function
criterion_benchmark
(c: &mut Criterion)
handshake/benches/handshake_sync.rs:73
Function
custom
()
desert/tests/custom.rs:82
Method
default
()
cable_core/src/store.rs:293
Method
default
()
length_prefixed_stream/src/lib.rs:52
Method
delete
Construct an unsigned delete `Post` with the given parameters.
cable/src/post.rs:179
Function
delete_post_to_bytes
()
cable/src/post.rs:913
Method
drop
(&mut self)
cable_core/src/stream.rs:110
Method
fmt
(&self, f: &mut fmt::Formatter)
cable/src/post.rs:63
Method
fmt
(&self, f: &mut fmt::Formatter)
cable/src/lib.rs:60
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
cable/src/error.rs:54
Method
fmt
(&self, f: &mut fmt::Formatter)
cable/src/message.rs:184
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
handshake/src/version.rs:37
Method
fmt
(&self, f: &mut Formatter)
handshake/src/error.rs:20
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
desert/src/error.rs:39
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
length_prefixed_stream/src/error.rs:60
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
length_prefixed_stream/src/unfold.rs:46
Method
from
(error: Error)
length_prefixed_stream/src/error.rs:38
Method
from_bytes
Read bytes from the given buffer (byte array), returning the total number of bytes and the decoded `Post` type.
cable/src/post.rs:475
Method
from_bytes
Read bytes from the given buffer (byte array), returning the total number of bytes and the decoded `Message` type.
cable/src/message.rs:677
Method
from_bytes
Read bytes from the given buffer (byte array), returning the total number of bytes and the decoded `Version` type.
handshake/src/version.rs:63
Method
from_bytes
(src: &[u8])
desert/src/lib.rs:360
Method
from_bytes
(src: &[u8])
desert/tests/custom.rs:47
Method
from_bytes_be
(src: &[u8])
desert/src/lib.rs:374
Method
from_bytes_le
(src: &[u8])
desert/src/lib.rs:380
Function
get_channel_from_join_post
()
cable/src/post.rs:778
Method
get_info_hashes
(&self, public_key: &PublicKey)
cable_core/src/store.rs:556
Method
get_peer_ids
(&self)
cable_core/src/manager.rs:344
Method
get_public_key
Return the public key which authored the post.
cable/src/post.rs:248
Function
get_timestamp_from_leave_post
()
cable/src/post.rs:812
Function
handshake
()
handshake/src/lib.rs:639
Method
hash_response
Construct a hash response `Message` with the given parameters.
cable/src/message.rs:148
Function
hash_response_to_bytes
()
cable/src/message.rs:1117
Method
info
Construct an unsigned info `Post` with the given parameters.
cable/src/post.rs:192
Function
info_post_to_bytes
()
cable/src/post.rs:956
Method
init
Initialise a new version instance.
handshake/src/version.rs:21
Function
is_signed_text_post
()
cable/src/post.rs:842
Function
join_post_to_bytes
()
cable/src/post.rs:1040
Method
leave
Construct an unsigned leave `Post` with the given parameters.
cable/src/post.rs:227
Function
leave_post_to_bytes
()
cable/src/post.rs:1080
Function
main
()
cable/examples/types.rs:49
Function
main
()
cable_core/examples/chat.rs:29
Function
main
()
handshake/examples/tcp.rs:42
Function
main
()
handshake/examples/unix.rs:45
Function
main
()
handshake/examples/async_tcp.rs:42
Function
main
()
handshake/examples/cli.rs:115
Function
main
()
length_prefixed_stream/examples/decode.rs:10
Method
minor
Return the minor version identifier.
handshake/src/version.rs:31
Function
multibyte_msg_len
()
length_prefixed_stream/tests/decode.rs:58
Method
name
Create an instance of `UserInfo` to set a user's display name.
cable/src/lib.rs:86
Function
nested
()
desert/tests/builtins.rs:111
Method
new
Convenience method to construct a `PostHeader`.
cable/src/post.rs:44
Method
new
Create a new instance of `ChannelOptions`.
cable/src/lib.rs:48
Method
new
Construct a `Message` from a header and body.
cable/src/message.rs:32
Method
new
Create a new `LiveStream` with the given channel options and streams.
cable_core/src/stream.rs:34
Method
new
(store: S)
cable_core/src/manager.rs:130
Method
new
(input: AR, options: DecodeOptions)
length_prefixed_stream/src/lib.rs:72
Method
new_client
Create a new handshake client that can send the version data.
handshake/src/lib.rs:204
Method
new_server
Create a new handshake server that can receive the version data.
handshake/src/lib.rs:378
Function
options_include_len
()
length_prefixed_stream/tests/options.rs:7
Method
poll_next
(self: Pin<&mut Self>, ctx: &mut Context)
cable_core/src/stream.rs:80
Method
poll_next
(self: Pin<&mut Self>, cx: &mut Context<'_>)
length_prefixed_stream/src/unfold.rs:61
Method
post_request
Construct a post request `Message` with the given parameters.
cable/src/message.rs:64
Function
post_request_to_bytes
()
cable/src/message.rs:989
Method
post_response
Construct a post response `Message` with the given parameters.
cable/src/message.rs:158
Function
post_response_to_bytes
()
cable/src/message.rs:1145
Function
request_response
()
cable_core/tests/request_response.rs:78
Function
server
Respond to a handshake over an asynchronous stream and run to completion.
handshake/src/async_std/handshake.rs:60
Function
simple_0
()
length_prefixed_stream/tests/decode.rs:7
Function
simple_1
()
length_prefixed_stream/tests/decode.rs:30
Function
sync_handshake_works
()
handshake/tests/sync_handshake.rs:16
Method
text
Construct an unsigned text `Post` with the given parameters.
cable/src/post.rs:165
Function
text_post_to_bytes
()
cable/src/post.rs:874
Method
topic
Construct an unsigned topic `Post` with the given parameters.
cable/src/post.rs:205
Function
topic_post_to_bytes
()
cable/src/post.rs:998
Function
tuples
()
desert/tests/builtins.rs:54
Function
validate_channel_len
()
cable/src/validation.rs:88
Function
validate_topic_len
()
cable/src/validation.rs:122
Function
validate_username_len
()
cable/src/validation.rs:59
Function
vectors
()
desert/tests/builtins.rs:89
Method
verify
Verify the signature of an encoded post.
cable/src/post.rs:320
Function
verify_post
()
cable/src/post.rs:767
Function
version_exchange_failure
()
handshake/src/lib.rs:607
Function
version_exchange_success
()
handshake/src/lib.rs:586
Function
version_to_bytes
()
handshake/src/lib.rs:574
Method
write_bytes
Serialize into an existing mutable byte slice. The usize Result contains how many bytes were written to `dst`.
desert/src/lib.rs:26
Method
write_bytes_be
Serialize into an existing mutable byte slice in big endian. The usize Result contains how many bytes were written to `dst`.
desert/src/lib.rs:47
Method
write_bytes_le
Serialize into an existing mutable byte slice in little endian. The usize Result contains how many bytes were written to `dst`.
desert/src/lib.rs:68
← previous
201–300 of 300, ranked by callers