pub struct DirectoryReadError {
pub path: PathBuf,
pub reason: String,
}Expand description
Shared error for directory read failures.
Used by both ReplayError and TraceGenError to avoid duplication.
Fields§
§path: PathBuf§reason: StringTrait Implementations§
Source§impl Debug for DirectoryReadError
impl Debug for DirectoryReadError
Source§impl Display for DirectoryReadError
impl Display for DirectoryReadError
Source§impl Error for DirectoryReadError
impl Error for DirectoryReadError
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 From<DirectoryReadError> for ReplayError
impl From<DirectoryReadError> for ReplayError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryReadError> for TraceGenError
impl From<DirectoryReadError> for TraceGenError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DirectoryReadError
impl RefUnwindSafe for DirectoryReadError
impl Send for DirectoryReadError
impl Sync for DirectoryReadError
impl Unpin for DirectoryReadError
impl UnsafeUnpin for DirectoryReadError
impl UnwindSafe for DirectoryReadError
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