pub struct SkippedEntry {
pub path: String,
pub reason: SkipReason,
}Expand description
打包过程中跳过的条目。
必须如实报告给用户:静默丢弃会让人以为整个目录都进去了, 等到解密时才发现少东西,那时原目录可能已经删了。
Fields§
§path: String被跳过的路径(相对根目录)。
reason: SkipReason跳过原因的稳定标识,供上层翻译。
Trait Implementations§
Source§impl Clone for SkippedEntry
impl Clone for SkippedEntry
Auto Trait Implementations§
impl Forget for SkippedEntry
impl Freeze for SkippedEntry
impl RefUnwindSafe for SkippedEntry
impl Send for SkippedEntry
impl Sync for SkippedEntry
impl Unpin for SkippedEntry
impl UnsafeUnpin for SkippedEntry
impl UnwindSafe for SkippedEntry
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