pub enum HomeSymlinkViewState {
Disabled,
Missing,
Ready,
Collision,
Unsupported,
}Expand description
Aggregate readiness of the optional symlink view.
§Examples
use ailloli_ui_app_storage::HomeSymlinkViewState;
assert_ne!(HomeSymlinkViewState::Missing, HomeSymlinkViewState::Ready);Variants§
Disabled
Creation is disabled regardless of existing paths.
Missing
At least one expected link does not exist.
Ready
Every expected link points to its canonical directory.
Collision
An existing path would be overwritten or points elsewhere.
Unsupported
A platform/provider cannot represent the requested directory links.
Trait Implementations§
Source§impl Clone for HomeSymlinkViewState
impl Clone for HomeSymlinkViewState
Source§fn clone(&self) -> HomeSymlinkViewState
fn clone(&self) -> HomeSymlinkViewState
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 HomeSymlinkViewState
impl Debug for HomeSymlinkViewState
Source§impl PartialEq for HomeSymlinkViewState
impl PartialEq for HomeSymlinkViewState
impl Eq for HomeSymlinkViewState
impl StructuralPartialEq for HomeSymlinkViewState
Auto Trait Implementations§
impl Freeze for HomeSymlinkViewState
impl RefUnwindSafe for HomeSymlinkViewState
impl Send for HomeSymlinkViewState
impl Sync for HomeSymlinkViewState
impl Unpin for HomeSymlinkViewState
impl UnwindSafe for HomeSymlinkViewState
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