pub struct EvidenceDb {
pub conn: Connection,
pub provenance: EvidenceProvenance,
/* private fields */
}Expand description
A read-only evidence SQLite connection plus its access provenance.
Holds an optional temp directory alive for the lifetime of the connection so the working copy is not reaped while in use; it is cleaned up on drop.
Fields§
§conn: ConnectionThe read-only connection. Writes through it fail.
provenance: EvidenceProvenanceHow the evidence was accessed (snapshot vs. in-place).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EvidenceDb
impl !RefUnwindSafe for EvidenceDb
impl !Sync for EvidenceDb
impl !UnwindSafe for EvidenceDb
impl Send for EvidenceDb
impl Unpin for EvidenceDb
impl UnsafeUnpin for EvidenceDb
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