[][src]Enum sync15::coll_state::LocalCollState

pub enum LocalCollState {
    Unknown {
        assoc: StoreSyncAssociation,
    },
    Declined,
    NoSuchCollection,
    SyncIdChanged {
        ids: CollSyncIds,
    },
    Ready {
        key: KeyBundle,
    },
}

Variants

Unknown

The state is unknown, with the StoreSyncAssociation the collection reports.

Fields of Unknown

assoc: StoreSyncAssociation
Declined

The engine has been declined. This is a "terminal" state.

NoSuchCollection

There's no such collection in meta/global. We could possibly update meta/global, but currently all known collections are there by default, so this is, basically, an error condition.

SyncIdChanged

Either the global or collection sync ID has changed - we will reset the engine.

Fields of SyncIdChanged

ids: CollSyncIds
Ready

The collection is ready to sync.

Fields of Ready

key: KeyBundle

Trait Implementations

impl Debug for LocalCollState[src]

Auto Trait Implementations

impl RefUnwindSafe for LocalCollState

impl Send for LocalCollState

impl Sync for LocalCollState

impl Unpin for LocalCollState

impl UnwindSafe for LocalCollState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,