Expand description
P2P networking layer for Guts decentralized code collaboration.
This crate provides the peer-to-peer networking infrastructure for replicating git repositories and collaboration data across multiple nodes.
Structs§
- Object
Data - Response with object data.
- RefUpdate
- Reference update broadcast.
- Replication
Protocol - Repository replication protocol.
- Repo
Announce - Repository announcement message.
- Serializable
Comment - Serializable version of a comment.
- Serializable
Issue - Serializable version of an issue for P2P transmission.
- Serializable
Label - Serializable version of a label.
- Serializable
Pull Request - Serializable version of a pull request for P2P transmission.
- Serializable
Review - Serializable version of a review.
- Sync
Request - Request to sync objects from a peer.
Enums§
- Collaboration
Message - Collaboration message for P2P transmission.
- Collaboration
Message Type - Collaboration message type discriminator.
- Message
- Unified message enum.
- Message
Type - Message type discriminator.
- P2PError
- Errors that can occur in P2P operations.
Constants§
- MAX_
MESSAGE_ SIZE - Maximum message size for replication (10 MB).
- REPLICATION_
CHANNEL - Channel ID for replication messages.
Traits§
- Replication
Handler - Callback trait for sending messages to peers.
Type Aliases§
- Result
- Result type for P2P operations.