pub enum IosError {
Sqlite(String),
NoAssetTable,
NoTrashedColumn,
}Expand description
Errors returned while reading trashed assets from a Photos.sqlite.
Variants§
Sqlite(String)
The underlying SQLite engine could not open or read the database. Carries
the engine’s message.
NoAssetTable
Neither ZASSET nor ZGENERICASSET is present — not a Photos library DB.
NoTrashedColumn
The asset table has no ZTRASHEDSTATE column — an unexpected schema.
Trait Implementations§
impl Eq for IosError
Source§impl Error for IosError
impl Error for IosError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for IosError
Auto Trait Implementations§
impl Freeze for IosError
impl RefUnwindSafe for IosError
impl Send for IosError
impl Sync for IosError
impl Unpin for IosError
impl UnsafeUnpin for IosError
impl UnwindSafe for IosError
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