[][src]Enum sync15::state::SetupState

enum SetupState {
    Initial,
    InitialWithConfig {
        config: InfoConfiguration,
    },
    InitialWithInfo {
        config: InfoConfiguration,
        collections: InfoCollections,
    },
    InitialWithMetaGlobal {
        config: InfoConfiguration,
        collections: InfoCollections,
        global: MetaGlobalRecord,
        global_timestamp: ServerTimestamp,
    },
    WithPreviousState {
        old_state: GlobalState,
    },
    Ready {
        state: GlobalState,
    },
    FreshStartRequired {
        config: InfoConfiguration,
    },
}

States in the remote setup process. TODO(lina): Add link once #56 is merged.

Variants

Initial
InitialWithConfig

Fields of InitialWithConfig

config: InfoConfiguration
InitialWithInfo

Fields of InitialWithInfo

config: InfoConfigurationcollections: InfoCollections
InitialWithMetaGlobal

Fields of InitialWithMetaGlobal

config: InfoConfigurationcollections: InfoCollectionsglobal: MetaGlobalRecordglobal_timestamp: ServerTimestamp
WithPreviousState

Fields of WithPreviousState

old_state: GlobalState
Ready

Fields of Ready

state: GlobalState
FreshStartRequired

Fields of FreshStartRequired

config: InfoConfiguration

Implementations

impl SetupState[src]

fn label(&self) -> &'static str[src]

Trait Implementations

impl Debug for SetupState[src]

Auto Trait Implementations

impl RefUnwindSafe for SetupState

impl Send for SetupState

impl Sync for SetupState

impl Unpin for SetupState

impl UnwindSafe for SetupState

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>,