pub struct StateDirError {
pub name: Option<&'static str>,
pub dir: PathBuf,
pub ownership: String,
pub source: Error,
}Fields§
§name: Option<&'static str>§dir: PathBuf§ownership: String§source: ErrorTrait Implementations§
Source§impl Debug for StateDirError
impl Debug for StateDirError
Source§impl Display for StateDirError
impl Display for StateDirError
Source§impl Error for StateDirError
impl Error for StateDirError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for StateDirError
impl !UnwindSafe for StateDirError
impl Freeze for StateDirError
impl Send for StateDirError
impl Sync for StateDirError
impl Unpin for StateDirError
impl UnsafeUnpin for StateDirError
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