logins/sync/
mod.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5mod engine;
6pub(crate) mod merge;
7mod payload;
8mod update_plan;
9
10pub use engine::LoginsSyncEngine;
11use payload::{IncomingLogin, LoginPayload};
12
13#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
14#[repr(u8)]
15pub(crate) enum SyncStatus {
16    Synced = 0,
17    Changed = 1,
18    New = 2,
19}