MCPcopy Create free account

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

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

↓ 1 callersMethodget_ex_channel_members
(&self, channel: &Channel)
cable_core/src/store.rs:442
↓ 1 callersMethodget_keypair
(&self)
cable_core/src/store.rs:321
↓ 1 callersMethodget_latest_hashes
(&self, channel: &Channel)
cable_core/src/store.rs:587
↓ 1 callersMethodget_links
(&mut self, channel: &Channel)
cable_core/src/manager.rs:353
↓ 1 callersMethodget_post_payload
(&self, hash: &Hash)
cable_core/src/store.rs:950
↓ 1 callersMethodget_post_payloads
(&self, hashes: &[Hash])
cable_core/src/store.rs:957
↓ 1 callersMethodget_posts
(&self, opts: &ChannelOptions)
cable_core/src/store.rs:662
↓ 1 callersMethodget_posts_live
(&mut self, opts: &ChannelOptions)
cable_core/src/store.rs:709
↓ 1 callersMethodget_remote_public_key
Return the public key of the remote peer.
handshake/src/post_handshake.rs:246
↓ 1 callersMethodget_secret_key
Retrieve the secret key of the local peer.
cable_core/src/manager.rs:154
↓ 1 callersMethodhandle
Handle a request or response message.
cable_core/src/manager.rs:779
↓ 1 callersFunctionhandshake
( client_version: Version, server_version: Version, psk: [u8; 32], client_private_key: Vec<u8>
handshake/benches/handshake_sync.rs:40
↓ 1 callersFunctioninit
Initialise the logger in test mode. Set `is_test()` to `false` if you wish to see logging output during the test run.
cable_core/tests/channel_time_range.rs:62
↓ 1 callersFunctioninit
Initialise the logger in test mode. Set `is_test()` to `false` if you wish to see logging output during the test run.
cable_core/tests/request_response.rs:65
↓ 1 callersMethodinsert_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:352
↓ 1 callersMethodinsert_channel_topic
( &mut self, channel: &Channel, topic: &Topic, timestamp: &Timestamp,
cable_core/src/store.rs:490
↓ 1 callersMethodinsert_delete_hash
(&mut self, public_key: &PublicKey, hash: &Hash)
cable_core/src/store.rs:541
↓ 1 callersMethodinsert_ex_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:450
↓ 1 callersMethodinsert_info_hash
(&mut self, public_key: &PublicKey, hash: &Hash)
cable_core/src/store.rs:564
↓ 1 callersMethodinsert_peer_name
( &mut self, public_key: &PublicKey, name: &Nickname, timestamp: &Timestamp,
cable_core/src/store.rs:620
↓ 1 callersMethodis_channel_member
(&self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:367
↓ 1 callersMethodis_live_request
Query if the request defined by the given peer ID and request ID is an active live request.
cable_core/src/manager.rs:359
↓ 1 callersMethodis_local
(&self)
cable_core/src/manager.rs:75
↓ 1 callersMethodis_signed
Check if the post has a signature.
cable/src/post.rs:276
↓ 1 callersMethodjoin
Construct an unsigned join `Post` with the given parameters.
cable/src/post.rs:219
↓ 1 callersMethodmatches
Check if the given post matches the channel parameters defined for the live stream manager.
cable_core/src/stream.rs:61
↓ 1 callersFunctionmessage
( client_version: Version, server_version: Version, psk: [u8; 32], client_private_key: Vec<u8>
handshake/benches/message_sync.rs:43
↓ 1 callersMethodnew_peer_id
Generate a new peer ID.
cable_core/src/manager.rs:179
↓ 1 callersFunctionnow
Get the current system time in seconds since the UNIX epoch.
cable_core/tests/request_response.rs:70
↓ 1 callersFunctionnow
()
cable_core/examples/chat.rs:20
↓ 1 callersMethodopen_channel
Create a channel time range request and a channel state request matching the given channel parameters and broadcast them to all peers, listening for r
cable_core/src/manager.rs:193
↓ 1 callersFunctionparse_psk_and_mode
(psk_arg: &'a str, mode_arg: &'a str)
handshake/examples/cli.rs:41
↓ 1 callersMethodpost_delete
Publish a new delete post with the given post hashes, returning the hash of the new post.
cable_core/src/manager.rs:502
↓ 1 callersMethodpost_join
Publish a new join post for the given channel and return the hash.
cable_core/src/manager.rs:559
↓ 1 callersMethodpost_leave
Publish a new leave post for the given channel and return the hash.
cable_core/src/manager.rs:573
↓ 1 callersMethodprocess_and_send_outbound_requests
Process all outbound requests, sending each one to the connected peer if it meets certain requirements. This method takes into account the TTL of the
cable_core/src/manager.rs:393
↓ 1 callersMethodread_noise_message
Read an encrypted message from the receive buffer, decrypt and write it to the message buffer - returning the byte size of the written payload.
handshake/src/post_handshake.rs:20
↓ 1 callersMethodremove_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:375
↓ 1 callersMethodremove_channel_membership_hash
(&mut self, hash: &Hash)
cable_core/src/store.rs:400
↓ 1 callersMethodremove_channel_topic
(&mut self, hash: &Hash)
cable_core/src/store.rs:519
↓ 1 callersMethodremove_ex_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:465
↓ 1 callersMethodremove_info_hash
(&mut self, hash: &Hash)
cable_core/src/store.rs:579
↓ 1 callersMethodremove_live_request
Remove the live request defined by the given peer ID and request ID.
cable_core/src/manager.rs:374
↓ 1 callersMethodremove_peer_name
(&mut self, hash: &Hash)
cable_core/src/store.rs:648
↓ 1 callersMethodremove_post
(&mut self, hash: &Hash)
cable_core/src/store.rs:887
↓ 1 callersMethodremove_post_payload
(&mut self, hash: &Hash)
cable_core/src/store.rs:971
↓ 1 callersFunctionrun_client
()
handshake/examples/tcp.rs:55
↓ 1 callersFunctionrun_client
()
handshake/examples/unix.rs:58
↓ 1 callersFunctionrun_client
()
handshake/examples/async_tcp.rs:55
↓ 1 callersFunctionrun_client
(psk: [u8; 32], msg: &str)
handshake/examples/cli.rs:55
↓ 1 callersFunctionrun_server
()
handshake/examples/tcp.rs:92
↓ 1 callersFunctionrun_server
()
handshake/examples/unix.rs:90
↓ 1 callersFunctionrun_server
()
handshake/examples/async_tcp.rs:97
↓ 1 callersFunctionrun_server
(psk: [u8; 32], msg: &str)
handshake/examples/cli.rs:85
↓ 1 callersMethodsend
Send a post to the live stream manager.
cable_core/src/stream.rs:50
↓ 1 callersFunctionserver_handshake
()
handshake/tests/async_handshake.rs:69
↓ 1 callersMethodset_keypair
(&mut self, keypair: Keypair)
cable_core/src/store.rs:325
↓ 1 callersFunctionsetup
()
handshake/benches/message_sync.rs:22
↓ 1 callersFunctionsetup
()
handshake/benches/handshake_sync.rs:19
↓ 1 callersMethodto_bytes
Convert a `Version` data type to bytes.
handshake/src/version.rs:44
↓ 1 callersMethodto_bytes_be
(&self)
desert/src/lib.rs:340
↓ 1 callersMethodto_bytes_le
(&self)
desert/src/lib.rs:350
↓ 1 callersFunctionunfold
(init: T, f: F)
length_prefixed_stream/src/unfold.rs:19
↓ 1 callersMethodwant
(&self, hashes: &[Hash])
cable_core/src/store.rs:990
↓ 1 callersMethodwrite_bytes
Write bytes to the given buffer (mutable byte array).
cable/src/post.rs:362
↓ 1 callersMethodwrite_bytes
Write bytes to the given buffer (mutable byte array).
cable/src/message.rs:531
↓ 1 callersMethodwrite_bytes
Write bytes to the given buffer (mutable byte array).
handshake/src/version.rs:52
↓ 1 callersMethodwrite_noise_message
Encrypt and write a message to the send buffer, returning the byte size of the written payload.
handshake/src/post_handshake.rs:132
Functionarrays
()
desert/tests/builtins.rs:72
Functionasync_handshake_works
()
handshake/tests/async_handshake.rs:107
Methodbacktrace
(&'a self)
cable/src/error.rs:48
Methodbacktrace
(&'a self)
desert/src/error.rs:33
Methodbacktrace
(&'_ self)
length_prefixed_stream/src/error.rs:32
Functionbooleans
()
desert/tests/builtins.rs:47
Functionbuiltins
()
desert/tests/builtins.rs:4
Functionbytes_to_cancel_request
()
cable/src/message.rs:1249
Functionbytes_to_channel_list_request
()
cable/src/message.rs:1395
Functionbytes_to_channel_list_response
()
cable/src/message.rs:1531
Functionbytes_to_channel_state_request
()
cable/src/message.rs:1349
Functionbytes_to_channel_time_range_request
()
cable/src/message.rs:1293
Functionbytes_to_delete_post
()
cable/src/post.rs:1169
Functionbytes_to_hash_response
()
cable/src/message.rs:1441
Functionbytes_to_info_post
()
cable/src/post.rs:1219
Functionbytes_to_join_post
()
cable/src/post.rs:1315
Functionbytes_to_leave_post
()
cable/src/post.rs:1360
Functionbytes_to_post_request
()
cable/src/message.rs:1201
Functionbytes_to_post_response
()
cable/src/message.rs:1488
Functionbytes_to_text_post
()
cable/src/post.rs:1122
Functionbytes_to_topic_post
()
cable/src/post.rs:1267
Methodcancel_request
Construct a cancel request `Message` with the given parameters.
cable/src/message.rs:75
Functioncancel_request_to_bytes
()
cable/src/message.rs:1018
Methodchannel_list_request
Construct a channel list request `Message` with the given parameters.
cable/src/message.rs:131
Functionchannel_list_request_to_bytes
()
cable/src/message.rs:1093
Methodchannel_list_response
Construct a channel list response `Message` with the given parameters.
cable/src/message.rs:168
Functionchannel_list_response_to_bytes
()
cable/src/message.rs:1169
Methodchannel_state_request
Construct a channel state request `Message` with the given parameters.
cable/src/message.rs:114
Functionchannel_state_request_response
()
cable_core/tests/channel_state.rs:84
Functionchannel_state_request_to_bytes
()
cable/src/message.rs:1069
Methodchannel_time_range_request
Construct a channel time range request `Message` with the given parameters.
cable/src/message.rs:86
Functionchannel_time_range_request_response
()
cable_core/tests/channel_time_range.rs:77
← previousnext →101–200 of 300, ranked by callers