Expand description
Add use dittolive_ditto::prelude::*; to import frequently-used Ditto functionality.
The prelude contains all common imports when using this crate.
Re-exports§
pub use crate::disk_usage::DiskUsage;pub use crate::error::DittoError;pub use crate::fs::DittoRoot;pub use crate::fs::PersistentRoot;pub use crate::fs::TempRoot;pub use crate::identity;pub use crate::identity::DittoAuthenticationEventHandler;pub use crate::identity::DittoAuthenticator;pub use crate::identity::Identity;pub use crate::identity::Manual;pub use crate::identity::OfflinePlayground;pub use crate::identity::OnlinePlayground;pub use crate::identity::OnlineWithAuthentication;pub use crate::logger::DittoLogger;pub use crate::presence::ConnectionRequest;pub use crate::presence::ConnectionRequestAuthorization;pub use crate::presence::Presence;pub use crate::presence::PresenceGraph;pub use crate::presence::PresenceObserver;pub use crate::store::attachment::DittoAttachment;pub use crate::store::attachment::DittoAttachmentFetchEvent;pub use crate::store::attachment::DittoAttachmentFetcher;pub use crate::store::attachment::DittoAttachmentToken;pub use crate::store::transactions::CreateTransactionOptions;pub use crate::store::transactions::Transaction;pub use crate::store::transactions::TransactionCompletionAction;pub use crate::store::transactions::TransactionInfo;pub use crate::store::Store;pub use crate::store::WriteStrategy;pub use crate::transport::HttpListenConfig;pub use crate::transport::TcpListenConfig;pub use crate::transport::TransportConfig;pub use crate::AppId;pub use crate::Ditto;
Structs§
- Configuration options required to initialize a
Dittoinstance.
Enums§
- The
Valueenum, a loosely typed way of representing any valid CBOR value. - Specifies the connection mechanism to be used by the
Dittoinstance. - Determines which “kind” of peers the small peer info will be replicate to, defaults to
DittoSmallPeerInfoSyncScope::BigPeerOnly. Which peers to replicate the__small_peer_infocollection to. - The log levels that the Ditto SDK supports.
Traits§
- Trait describing types which can be used as an authentication expiration handler for Ditto.
- Types which can be used to construct a
QueryV2.