pub enum PreferencesError {
Io(String),
Unavailable,
}Expand description
Errors produced by a preferences backend.
Variants§
Io(String)
The backing store could not be read or written.
No durable storage is available on this platform or build.
Trait Implementations§
Source§impl Clone for PreferencesError
impl Clone for PreferencesError
Source§impl Debug for PreferencesError
impl Debug for PreferencesError
Source§impl Display for PreferencesError
impl Display for PreferencesError
impl Eq for PreferencesError
Source§impl Error for PreferencesError
impl Error for PreferencesError
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()
Source§impl PartialEq for PreferencesError
impl PartialEq for PreferencesError
impl StructuralPartialEq for PreferencesError
Auto Trait Implementations§
impl Freeze for PreferencesError
impl RefUnwindSafe for PreferencesError
impl Send for PreferencesError
impl Sync for PreferencesError
impl Unpin for PreferencesError
impl UnsafeUnpin for PreferencesError
impl UnwindSafe for PreferencesError
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