pub enum TrashedNameAnomaly {
ExpiredResidue {
name: String,
},
MalformedName {
name: String,
},
}Expand description
An Android MediaStore trash-filename anomaly, with the offending name attached.
Variants§
ExpiredResidue
A .trashed- item whose dateExpires is in the past but which is still
present — it outlived the idle-maintenance sweep and remains recoverable.
MalformedName
A name that carries a trashed/pending prefix yet does not parse as a
valid token (non-numeric expiry, missing field, …).
Trait Implementations§
Source§impl Clone for TrashedNameAnomaly
impl Clone for TrashedNameAnomaly
Source§fn clone(&self) -> TrashedNameAnomaly
fn clone(&self) -> TrashedNameAnomaly
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 TrashedNameAnomaly
impl Debug for TrashedNameAnomaly
impl Eq for TrashedNameAnomaly
Source§impl PartialEq for TrashedNameAnomaly
impl PartialEq for TrashedNameAnomaly
Source§fn eq(&self, other: &TrashedNameAnomaly) -> bool
fn eq(&self, other: &TrashedNameAnomaly) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrashedNameAnomaly
Auto Trait Implementations§
impl Freeze for TrashedNameAnomaly
impl RefUnwindSafe for TrashedNameAnomaly
impl Send for TrashedNameAnomaly
impl Sync for TrashedNameAnomaly
impl Unpin for TrashedNameAnomaly
impl UnsafeUnpin for TrashedNameAnomaly
impl UnwindSafe for TrashedNameAnomaly
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