Crate sos_protocol

Source
Expand description

Networking and sync protocol types for Save Our Secrets.

When the account feature is enabled SyncStorage will be implemented for LocalAccount.

Re-exports§

Modules§

  • Compression functions configured for smallest size compression.
  • Constants for the networking protocols.
  • integrationintegration
    Local integration is a sync client used to connect to an app running on the same device.
  • Types used for communicating between apps on the same device.
  • Helper functions for server implementations.
  • transferfiles or listen
    Types for file transfers.

Structs§

Enums§

Traits§

  • Trait for types that can sync with multiple remotes.
  • Trait for error implementations that support a conflict error.
  • Support for auto merge on sync.
  • Types that can force merge a diff.
  • Types that can merge diffs.
  • Trait for types that can sync with a single remote.
  • Trait for types that bridge between a remote data source and a local account.
  • Client that can communicate with a remote data source.
  • Storage implementations that can synchronize.

Functions§

  • Difference between a local sync status and a remote sync status.

Type Aliases§

  • Result type for the wire protocol.