Available on crate feature
net
only.Expand description
Network implementation of the iroh-docs protocol
Structs§
- Sync
Finished - Details of a finished sync operation.
- Timings
- Time a sync operation took
Enums§
- Abort
Reason - Reason why we aborted an incoming sync request.
- Accept
Error - Errors that may occur on handling incoming sync connections.
- Accept
Outcome - Whether we want to accept or reject an incoming sync request.
- Connect
Error - Errors that may occur on outgoing sync requests.
Constants§
- ALPN
- The ALPN identifier for the iroh-docs protocol
Functions§
- connect_
and_ sync - Connect to a peer and sync a replica
- handle_
connection - Handle an iroh-docs connection and sync all shared documents in the replica store.