pub struct AppStorageDiagnostics {
pub app_id: AppId,
pub dirs: AppStorageDirs,
pub env_overrides: Vec<EnvOverride>,
pub home_symlink_view: HomeSymlinkViewStatus,
}Expand description
Snapshot of resolved paths, overrides, and compatibility-view readiness.
Calling AppStorage::diagnostics inspects symlink paths but creates or
modifies nothing.
§Examples
use ailloli_ui_app_storage::AppStorage;
let storage = AppStorage::single_dir("example", "/tmp/example").resolve_with_env(|_| None)?;
assert_eq!(storage.diagnostics().app_id.as_str(), "example");Fields§
§app_id: AppIdValidated application identifier.
dirs: AppStorageDirsFour canonical directories selected by resolution.
env_overrides: Vec<EnvOverride>App-specific non-empty environment overrides that were consumed.
home_symlink_view: HomeSymlinkViewStatusCurrent read-only inspection of the optional compatibility view.
Trait Implementations§
Source§impl Clone for AppStorageDiagnostics
impl Clone for AppStorageDiagnostics
Source§fn clone(&self) -> AppStorageDiagnostics
fn clone(&self) -> AppStorageDiagnostics
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppStorageDiagnostics
impl Debug for AppStorageDiagnostics
Source§impl PartialEq for AppStorageDiagnostics
impl PartialEq for AppStorageDiagnostics
impl Eq for AppStorageDiagnostics
impl StructuralPartialEq for AppStorageDiagnostics
Auto Trait Implementations§
impl Freeze for AppStorageDiagnostics
impl RefUnwindSafe for AppStorageDiagnostics
impl Send for AppStorageDiagnostics
impl Sync for AppStorageDiagnostics
impl Unpin for AppStorageDiagnostics
impl UnwindSafe for AppStorageDiagnostics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more