pub enum PathHint {
QuotedPath(char),
NoLocalDatabase,
BackupsFound(Vec<PathBuf>),
DatabaseFound(PathBuf),
BackupWithoutMessages(PathBuf),
LegacyBackupLayout(PathBuf),
MissingComponent {
ancestor: PathBuf,
component: OsString,
},
}Expand description
Diagnostic hints inferred from the filesystem around a failed path.
Variants§
QuotedPath(char)
Literal quote character at either end of the path
NoLocalDatabase
Default macOS database path on a host without a Messages app
BackupsFound(Vec<PathBuf>)
iOS backup directories found at these paths
DatabaseFound(PathBuf)
macOS Messages database found at this path
BackupWithoutMessages(PathBuf)
iOS backup root without a Messages database
LegacyBackupLayout(PathBuf)
Messages database at the backup root: the flat layout used before iOS 10
MissingComponent
Nearest existing ancestor and the first missing component beneath it
Trait Implementations§
impl Eq for PathHint
impl StructuralPartialEq for PathHint
Auto Trait Implementations§
impl Freeze for PathHint
impl RefUnwindSafe for PathHint
impl Send for PathHint
impl Sync for PathHint
impl Unpin for PathHint
impl UnsafeUnpin for PathHint
impl UnwindSafe for PathHint
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.