Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cabal-club/cable.rs
/ types & classes
Types & classes
56 in github.com/cabal-club/cable.rs
⨍
Functions
300
◇
Types & classes
56
↓ 2 callers
Class
HandshakeComplete
handshake/src/lib.rs:131
↓ 1 callers
Class
ClientInitTransportMode
handshake/src/lib.rs:95
↓ 1 callers
Class
ClientRecvEphemeralAndStaticKey
handshake/src/lib.rs:87
↓ 1 callers
Class
ClientSendEphemeralKey
handshake/src/lib.rs:83
↓ 1 callers
Class
ClientSendStaticKey
handshake/src/lib.rs:91
↓ 1 callers
Class
ServerInitTransportMode
handshake/src/lib.rs:125
↓ 1 callers
Class
ServerRecvEphemeralKey
handshake/src/lib.rs:113
↓ 1 callers
Class
ServerRecvStaticKey
handshake/src/lib.rs:121
↓ 1 callers
Class
ServerSendEphemeralAndStaticKey
handshake/src/lib.rs:117
Class
CableError
cable/src/error.rs:9
Enum
CableErrorKind
cable/src/error.rs:16
Class
CableManager
cable_core/src/manager.rs:96
Class
ChannelOptions
Query parameters defining a channel, time range and number of posts.
cable/src/lib.rs:39
Class
ClientBuildNoiseStateMachine
handshake/src/lib.rs:79
Class
ClientRecvVersion
handshake/src/lib.rs:75
Class
ClientSendVersion
handshake/src/lib.rs:71
Interface
CountBytes
Count how many bytes to read from a byte slice for a type and calculate how many bytes the serialization would contain. The implementations for the bu
desert/src/lib.rs:108
Interface
CountBytesBE
Count how many bytes to read from a byte slice for a type and calculate how many bytes the serialization would contain. In big endian.
desert/src/lib.rs:125
Interface
CountBytesLE
Count how many bytes to read from a byte slice for a type and calculate how many bytes the serialization would contain. In little endian.
desert/src/lib.rs:144
Class
Custom
desert/tests/custom.rs:10
Class
DecodeError
length_prefixed_stream/src/error.rs:7
Enum
DecodeErrorKind
length_prefixed_stream/src/error.rs:14
Class
DecodeOptions
length_prefixed_stream/src/lib.rs:46
Class
Decoder
length_prefixed_stream/src/lib.rs:60
Class
DesertError
desert/src/error.rs:7
Enum
DesertErrorKind
desert/src/error.rs:14
Interface
FromBytes
Deserialize a sequence of bytes into a type. The implementations for the built-in types are in big endian for this trait.
desert/src/lib.rs:84
Interface
FromBytesBE
Deserialize a sequence of bytes into a type in big endian.
desert/src/lib.rs:91
Interface
FromBytesLE
Deserialize a sequence of bytes into a type in little endian.
desert/src/lib.rs:98
Class
Handshake
handshake/src/lib.rs:55
Class
HandshakeBase
handshake/src/lib.rs:36
Enum
HandshakeError
Error that can occur during the handshake.
handshake/src/error.rs:12
Enum
Item
desert/tests/custom.rs:4
Enum
LiveRequest
cable_core/src/manager.rs:49
Class
LiveStream
A live stream manager with a unique ID and channel parameters.
cable_core/src/stream.rs:23
Class
MemoryStore
An in-memory store containing a keypair and post data.
cable_core/src/store.rs:251
Class
Message
cable/src/message.rs:25
Enum
MessageBody
The body of a request or response message.
cable/src/message.rs:253
Class
MessageHeader
The header of a request or response message.
cable/src/message.rs:217
Class
Post
cable/src/post.rs:153
Enum
PostBody
The body of a post.
cable/src/post.rs:81
Class
PostHeader
The header of a post.
cable/src/post.rs:29
Enum
RequestBody
The body of a request message.
cable/src/message.rs:287
Enum
RequestOrigin
cable_core/src/manager.rs:67
Enum
ResponseBody
The body of a response message.
cable/src/message.rs:402
Enum
Role
handshake/src/lib.rs:62
Class
ServerBuildNoiseStateMachine
handshake/src/lib.rs:109
Class
ServerRecvVersion
handshake/src/lib.rs:101
Class
ServerSendVersion
handshake/src/lib.rs:105
Interface
State
The `State` trait is used to implement the typestate pattern for the `Handshake`. The state machine is as follows: Client: - [`ClientSendVersion`]
handshake/src/lib.rs:157
Interface
Store
Storage trait with methods for storing and retrieving cryptographic keypairs, hashes and posts.
cable_core/src/store.rs:58
Interface
ToBytes
Serialize a type into a sequence of bytes with unspecified endianness. The implementations for the built-in types are in big endian for this trait.
desert/src/lib.rs:20
Interface
ToBytesBE
Serialize a type into a sequence of bytes in big endian.
desert/src/lib.rs:41
Interface
ToBytesLE
Serialize a type into a sequence of bytes in little endian.
desert/src/lib.rs:62
Class
UserInfo
Information self-published by a user.
cable/src/lib.rs:71
Class
Version
Major and minor identifiers for a particular version of the Cable Handshake protocol.
handshake/src/version.rs:14