settings_storage/
lib.rs

1// Copyright 2022 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/// Allows controllers to store state in persistent device level storage.
6pub mod device_storage;
7
8/// Storage that interacts with persistent fidl.
9pub mod fidl_storage;
10
11/// Implements recording stash write failures to inspect.
12pub mod stash_logger;
13
14/// Exposes a factory struct and trait to generate storage.
15pub mod storage_factory;
16
17#[derive(PartialEq, Eq, Clone, Debug)]
18/// Enum for describing whether writing affected persistent value.
19pub enum UpdateState {
20    Unchanged,
21    Updated,
22}
23
24mod private {
25    pub trait Sealed {}
26}