You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to store the RecordId instance for later processing. While I know the RecordId is a u64, it would nice if I could simply refer to RecordId.
As in this contrived example.
use ::evtx::EvtxParser;
use ::evtx::RecordId;
fn main() {
let fp = PathBuf::new();
let mut parser = EvtxParser::from_path(fp).unwrap();
let mut ids: Vec<RecordId> = vec![];
for record in parser.records() {
match record {
Ok(r) => {
ids.push(r.event_record_id);
},
_ => {},
}
}
}
Currently, that code does not compile
error[E0432]: unresolved import `evtx::RecordId`
--> src\main.rs:2:5
|
2 | use ::evtx::RecordId;
| ^^^^^^^^^^^^^^^^ no `RecordId` in the root
Using evtx version 0.8.1.
The text was updated successfully, but these errors were encountered:
tl;dr make
type RecordId
public so it can beuse
dI'd like to store the
RecordId
instance for later processing. While I know theRecordId
is au64
, it would nice if I could simply refer toRecordId
.As in this contrived example.
Currently, that code does not compile
Using
evtx
version 0.8.1.The text was updated successfully, but these errors were encountered: