Struct yara_sys::YR_SCAN_CONTEXT[][src]

#[repr(C)]
pub struct YR_SCAN_CONTEXT {
Show 19 fields pub file_size: u64, pub entry_point: u64, pub flags: c_int, pub canary: c_int, pub timeout: u64, pub user_data: *mut c_void, pub callback: YR_CALLBACK_FUNC, pub rules: *mut YR_RULES, pub last_error_string: *mut YR_STRING, pub iterator: *mut YR_MEMORY_BLOCK_ITERATOR, pub objects_table: *mut YR_HASH_TABLE, pub matches_notebook: *mut YR_NOTEBOOK, pub stopwatch: YR_STOPWATCH, pub re_fiber_pool: RE_FIBER_POOL, pub rule_matches_flags: *mut c_ulong, pub ns_unsatisfied_flags: *mut c_ulong, pub matches: *mut YR_MATCHES, pub unconfirmed_matches: *mut YR_MATCHES, pub profiling_info: *mut YR_PROFILING_INFO,
}

Fields

file_size: u64entry_point: u64flags: c_intcanary: c_inttimeout: u64user_data: *mut c_voidcallback: YR_CALLBACK_FUNCrules: *mut YR_RULESlast_error_string: *mut YR_STRINGiterator: *mut YR_MEMORY_BLOCK_ITERATORobjects_table: *mut YR_HASH_TABLEmatches_notebook: *mut YR_NOTEBOOKstopwatch: YR_STOPWATCHre_fiber_pool: RE_FIBER_POOLrule_matches_flags: *mut c_ulongns_unsatisfied_flags: *mut c_ulongmatches: *mut YR_MATCHESunconfirmed_matches: *mut YR_MATCHESprofiling_info: *mut YR_PROFILING_INFO

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.