blob: b3ea804a990f3301c1b1032640db434158405950 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! Types that are shared across more than one Account Management crate.
#![deny(warnings)]
#![deny(missing_docs)]
/// An error type for problems encountered in the account manager and account handler.
mod error;
/// More ergonomic wrapper types for FIDL account and persona identifiers.
mod identifiers;
/// Directory of all accounts.
pub const ACCOUNT_DIR: &'static str = "/data/account";
pub use crate::error::{AccountManagerError, ResultExt};
pub use crate::identifiers::{
FidlGlobalAccountId, FidlLocalAccountId, FidlLocalPersonaId, GlobalAccountId, LocalAccountId,
LocalPersonaId,
};