pub struct CapturedFile {
pub path: PathBuf,
pub bytes: Option<Vec<u8>>,
pub state: InputState,
/* private fields */
}Expand description
The handle remains open until capture/validation completes. It is never serialized: only its file identity, byte digest and redacted values are.
Fields§
§path: PathBuf§bytes: Option<Vec<u8>>§state: InputStateImplementations§
Auto Trait Implementations§
impl Forget for CapturedFile
impl Freeze for CapturedFile
impl Move for CapturedFile
impl RefUnwindSafe for CapturedFilewhere
I32NotAllOnes: RefUnwindSafe,
impl Send for CapturedFile
impl Sync for CapturedFile
impl Unpin for CapturedFile
impl UnsafeUnpin for CapturedFile
impl UnwindSafe for CapturedFilewhere
I32NotAllOnes: UnwindSafe,
RawVecInner: UnwindSafe,
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