#[non_exhaustive]pub struct ScanWarning {
pub path: PathBuf,
pub message: String,
}Expand description
A non-fatal problem encountered while scanning below a readable cache root.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: PathBufPath associated with the problem.
message: StringHuman-readable filesystem error or explanation.
Trait Implementations§
Source§impl Clone for ScanWarning
impl Clone for ScanWarning
Source§impl Debug for ScanWarning
impl Debug for ScanWarning
impl Eq for ScanWarning
Source§impl PartialEq for ScanWarning
impl PartialEq for ScanWarning
impl StructuralPartialEq for ScanWarning
Auto Trait Implementations§
impl Freeze for ScanWarning
impl RefUnwindSafe for ScanWarning
impl Send for ScanWarning
impl Sync for ScanWarning
impl Unpin for ScanWarning
impl UnsafeUnpin for ScanWarning
impl UnwindSafe for ScanWarning
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