pub enum HomeSymlinkEntryState {
Missing,
Ready,
Created,
Collision {
reason: String,
},
Unsupported {
reason: String,
},
}Expand description
State of one compatibility link.
§Examples
use ailloli_ui_app_storage::HomeSymlinkEntryState;
assert!(matches!(HomeSymlinkEntryState::Missing, HomeSymlinkEntryState::Missing));Variants§
Missing
No filesystem entry exists at the link path.
Ready
The path is a symlink whose stored target exactly equals the canonical target.
Created
Creation succeeded; final statuses returned by the current implementation re-inspect as ready.
Collision
An existing path cannot be reused without destructive replacement.
Unsupported
The platform/provider cannot represent this entry.
Trait Implementations§
Source§impl Clone for HomeSymlinkEntryState
impl Clone for HomeSymlinkEntryState
Source§fn clone(&self) -> HomeSymlinkEntryState
fn clone(&self) -> HomeSymlinkEntryState
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 HomeSymlinkEntryState
impl Debug for HomeSymlinkEntryState
Source§impl PartialEq for HomeSymlinkEntryState
impl PartialEq for HomeSymlinkEntryState
impl Eq for HomeSymlinkEntryState
impl StructuralPartialEq for HomeSymlinkEntryState
Auto Trait Implementations§
impl Freeze for HomeSymlinkEntryState
impl RefUnwindSafe for HomeSymlinkEntryState
impl Send for HomeSymlinkEntryState
impl Sync for HomeSymlinkEntryState
impl Unpin for HomeSymlinkEntryState
impl UnwindSafe for HomeSymlinkEntryState
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