Module dittolive_ditto::prelude
source · Expand description
The prelude contains all common imports when using the dittolive
crate.
Re-exports
pub use crate::store::timeseries::TimeSeries;
pub use crate::auth::authenticator::DittoAuthenticator;
pub use crate::auth::login_provider::DittoAuthenticationEventHandler;
pub use crate::disk_usage::DiskUsage;
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::Identity;
pub use crate::identity::Manual;
pub use crate::identity::OfflinePlayground;
pub use crate::identity::OnlinePlayground;
pub use crate::identity::OnlineWithAuthentication;
pub use crate::observer::Observer;
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::pending_cursor_operation::PendingCursorOperation;
pub use crate::store::collection::pending_id_specific_operation::PendingIdSpecificOperation;
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::collections::pending_collections_operation::PendingCollectionsOperation;
pub use crate::store::ditto_attachment::DittoAttachment;
pub use crate::store::ditto_attachment_fetch_event::DittoAttachmentFetchEvent;
pub use crate::store::ditto_attachment_fetcher::DittoAttachmentFetcher;
pub use crate::store::ditto_attachment_token::DittoAttachmentToken;
pub use crate::store::live_query::EventHandler;
pub use crate::store::live_query::LiveQuery;
pub use crate::store::live_query::LiveQueryEvent;
pub use crate::store::live_query::LiveQueryMove;
pub use crate::store::live_query::SingleDocumentEventHandler;
pub use crate::store::live_query::SingleDocumentLiveQueryEvent;
pub use crate::store::Store;
pub use crate::store::WriteStrategy;
pub use crate::subscription::Subscription;
pub use crate::transport::HttpListenConfig;
pub use crate::transport::TcpListenConfig;
pub use crate::transport::TransportConfig;
pub use crate::types::DittoCounter;
pub use crate::types::DittoRegister;
Structs
- receiving callback updates.
Presence
to visualize the mesh.- A token returned by
Presence::observe
. Retain this object to continue receiving callback updates.
Enums
- The
Value
enum, a loosely typed way of representing any valid CBOR value. - Which peers to replicate the
__small_peer_info
collection to.