pub enum DsStoreAnomaly {
OrphanMetadata {
evidence: String,
},
PutBackTraversal {
offending: String,
},
}Expand description
A macOS Trash put-back anomaly, with the offending evidence attached.
Variants§
OrphanMetadata
A put-back record survives in .DS_Store but the named item is no longer
present in the Trash directory: the content was emptied/removed while its
metadata remained (analogous to a Windows $I without its $R).
Fields
PutBackTraversal
The stored put-back name or location contains a .. component — restoring
it could escape the intended tree, consistent with a crafted record.
Trait Implementations§
Source§impl Clone for DsStoreAnomaly
impl Clone for DsStoreAnomaly
Source§fn clone(&self) -> DsStoreAnomaly
fn clone(&self) -> DsStoreAnomaly
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DsStoreAnomaly
impl Debug for DsStoreAnomaly
impl Eq for DsStoreAnomaly
Source§impl PartialEq for DsStoreAnomaly
impl PartialEq for DsStoreAnomaly
Source§fn eq(&self, other: &DsStoreAnomaly) -> bool
fn eq(&self, other: &DsStoreAnomaly) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DsStoreAnomaly
Auto Trait Implementations§
impl Freeze for DsStoreAnomaly
impl RefUnwindSafe for DsStoreAnomaly
impl Send for DsStoreAnomaly
impl Sync for DsStoreAnomaly
impl Unpin for DsStoreAnomaly
impl UnsafeUnpin for DsStoreAnomaly
impl UnwindSafe for DsStoreAnomaly
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