MCPcopy Create free account

hub / github.com/cabal-club/cable.rs / functions

Functions300 in github.com/cabal-club/cable.rs

Functionchannel_time_range_request_to_bytes
()
cable/src/message.rs:1041
Functionclient
Initiate the handshake over an asynchronous stream and run to completion.
handshake/src/async_std/handshake.rs:16
Methodclose_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
Methodcount_bytes
Calculate the total number of bytes comprising the encoded post.
cable/src/post.rs:689
Methodcount_from_bytes
(buf: &[u8])
cable/src/post.rs:731
Methodcount_from_bytes
Calculate the total number of bytes comprising the buffer.
cable/src/message.rs:511
Methodcount_from_bytes
(_buf: &[u8])
desert/src/lib.rs:292
Methodcount_from_bytes_be
(_buf: &[u8])
desert/src/lib.rs:302
Methodcount_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
Methodcount_from_bytes_le
(_buf: &[u8])
desert/src/lib.rs:312
Methodcount_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
Methodcount_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
Functioncriterion_benchmark
(c: &mut Criterion)
handshake/benches/message_sync.rs:102
Functioncriterion_benchmark
(c: &mut Criterion)
handshake/benches/handshake_sync.rs:73
Functioncustom
()
desert/tests/custom.rs:82
Methoddefault
()
cable_core/src/store.rs:293
Methoddefault
()
length_prefixed_stream/src/lib.rs:52
Methoddelete
Construct an unsigned delete `Post` with the given parameters.
cable/src/post.rs:179
Functiondelete_post_to_bytes
()
cable/src/post.rs:913
Methoddrop
(&mut self)
cable_core/src/stream.rs:110
Methodfmt
(&self, f: &mut fmt::Formatter)
cable/src/post.rs:63
Methodfmt
(&self, f: &mut fmt::Formatter)
cable/src/lib.rs:60
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
cable/src/error.rs:54
Methodfmt
(&self, f: &mut fmt::Formatter)
cable/src/message.rs:184
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
handshake/src/version.rs:37
Methodfmt
(&self, f: &mut Formatter)
handshake/src/error.rs:20
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
desert/src/error.rs:39
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
length_prefixed_stream/src/error.rs:60
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
length_prefixed_stream/src/unfold.rs:46
Methodfrom
(error: Error)
length_prefixed_stream/src/error.rs:38
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_bytes
(src: &[u8])
desert/src/lib.rs:360
Methodfrom_bytes
(src: &[u8])
desert/tests/custom.rs:47
Methodfrom_bytes_be
(src: &[u8])
desert/src/lib.rs:374
Methodfrom_bytes_le
(src: &[u8])
desert/src/lib.rs:380
Functionget_channel_from_join_post
()
cable/src/post.rs:778
Methodget_info_hashes
(&self, public_key: &PublicKey)
cable_core/src/store.rs:556
Methodget_peer_ids
(&self)
cable_core/src/manager.rs:344
Methodget_public_key
Return the public key which authored the post.
cable/src/post.rs:248
Functionget_timestamp_from_leave_post
()
cable/src/post.rs:812
Functionhandshake
()
handshake/src/lib.rs:639
Methodhash_response
Construct a hash response `Message` with the given parameters.
cable/src/message.rs:148
Functionhash_response_to_bytes
()
cable/src/message.rs:1117
Methodinfo
Construct an unsigned info `Post` with the given parameters.
cable/src/post.rs:192
Functioninfo_post_to_bytes
()
cable/src/post.rs:956
Methodinit
Initialise a new version instance.
handshake/src/version.rs:21
Functionis_signed_text_post
()
cable/src/post.rs:842
Functionjoin_post_to_bytes
()
cable/src/post.rs:1040
Methodleave
Construct an unsigned leave `Post` with the given parameters.
cable/src/post.rs:227
Functionleave_post_to_bytes
()
cable/src/post.rs:1080
Functionmain
()
cable/examples/types.rs:49
Functionmain
()
cable_core/examples/chat.rs:29
Functionmain
()
handshake/examples/tcp.rs:42
Functionmain
()
handshake/examples/unix.rs:45
Functionmain
()
handshake/examples/async_tcp.rs:42
Functionmain
()
handshake/examples/cli.rs:115
Functionmain
()
length_prefixed_stream/examples/decode.rs:10
Methodminor
Return the minor version identifier.
handshake/src/version.rs:31
Functionmultibyte_msg_len
()
length_prefixed_stream/tests/decode.rs:58
Methodname
Create an instance of `UserInfo` to set a user's display name.
cable/src/lib.rs:86
Functionnested
()
desert/tests/builtins.rs:111
Methodnew
Convenience method to construct a `PostHeader`.
cable/src/post.rs:44
Methodnew
Create a new instance of `ChannelOptions`.
cable/src/lib.rs:48
Methodnew
Construct a `Message` from a header and body.
cable/src/message.rs:32
Methodnew
Create a new `LiveStream` with the given channel options and streams.
cable_core/src/stream.rs:34
Methodnew
(store: S)
cable_core/src/manager.rs:130
Methodnew
(input: AR, options: DecodeOptions)
length_prefixed_stream/src/lib.rs:72
Methodnew_client
Create a new handshake client that can send the version data.
handshake/src/lib.rs:204
Methodnew_server
Create a new handshake server that can receive the version data.
handshake/src/lib.rs:378
Functionoptions_include_len
()
length_prefixed_stream/tests/options.rs:7
Methodpoll_next
(self: Pin<&mut Self>, ctx: &mut Context)
cable_core/src/stream.rs:80
Methodpoll_next
(self: Pin<&mut Self>, cx: &mut Context<'_>)
length_prefixed_stream/src/unfold.rs:61
Methodpost_request
Construct a post request `Message` with the given parameters.
cable/src/message.rs:64
Functionpost_request_to_bytes
()
cable/src/message.rs:989
Methodpost_response
Construct a post response `Message` with the given parameters.
cable/src/message.rs:158
Functionpost_response_to_bytes
()
cable/src/message.rs:1145
Functionrequest_response
()
cable_core/tests/request_response.rs:78
Functionserver
Respond to a handshake over an asynchronous stream and run to completion.
handshake/src/async_std/handshake.rs:60
Functionsimple_0
()
length_prefixed_stream/tests/decode.rs:7
Functionsimple_1
()
length_prefixed_stream/tests/decode.rs:30
Functionsync_handshake_works
()
handshake/tests/sync_handshake.rs:16
Methodtext
Construct an unsigned text `Post` with the given parameters.
cable/src/post.rs:165
Functiontext_post_to_bytes
()
cable/src/post.rs:874
Methodtopic
Construct an unsigned topic `Post` with the given parameters.
cable/src/post.rs:205
Functiontopic_post_to_bytes
()
cable/src/post.rs:998
Functiontuples
()
desert/tests/builtins.rs:54
Functionvalidate_channel_len
()
cable/src/validation.rs:88
Functionvalidate_topic_len
()
cable/src/validation.rs:122
Functionvalidate_username_len
()
cable/src/validation.rs:59
Functionvectors
()
desert/tests/builtins.rs:89
Methodverify
Verify the signature of an encoded post.
cable/src/post.rs:320
Functionverify_post
()
cable/src/post.rs:767
Functionversion_exchange_failure
()
handshake/src/lib.rs:607
Functionversion_exchange_success
()
handshake/src/lib.rs:586
Functionversion_to_bytes
()
handshake/src/lib.rs:574
Methodwrite_bytes
Serialize into an existing mutable byte slice. The usize Result contains how many bytes were written to `dst`.
desert/src/lib.rs:26
Methodwrite_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
Methodwrite_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
← previous201–300 of 300, ranked by callers