Module dittolive_ditto::prelude
source · [−]Re-exports
pub use crate::auth::DittoAuthenticationEventHandler;
pub use crate::ditto::builder::DittoBuilder;
pub use crate::ditto::AppId;
pub use crate::ditto::Ditto;
pub use crate::ditto::SiteId;
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::Manual;
pub use crate::identity::OfflinePlayground;
pub use crate::identity::OnlinePlayground;
pub use crate::identity::OnlineWithAuthentication;
pub use crate::identity::SharedKey;
pub use crate::store::collection::document::DittoDocument;
pub use crate::store::collection::document::DittoMutDocument;
pub use crate::store::collection::document_id::DocumentId;
pub use crate::store::collection::Collection;
pub use crate::store::collections::event::CollectionsEvent;
pub use crate::store::collections::pending_collections_operation::CollectionsEventHandler;
pub use crate::store::live_query::EventHandler;
pub use crate::store::live_query::LiveQuery;
pub use crate::store::live_query::SingleDocumentEventHandler;
pub use crate::store::timeseries::TimeSeries;
pub use crate::store::Store;
pub use crate::store::WriteStrategy;
Structs
Represents a CRDT register that can be upserted as part of a document or assigned to a property during an update of a document.
Represents a CRDT Replicated Growable Array (RGA) that can be upserted as part of a document or assigned to a property during an update of a document.
A token returned by observe_peers
. Retain this object to continue
receiving callback updates.
A configuration object specifying which network transports Ditto should use to sync data.