#[repr(C)]
pub struct YR_SCAN_CONTEXT {
Show 22 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 re_fast_exec_position_pool: RE_FAST_EXEC_POSITION_POOL, pub rule_matches_flags: *mut c_ulong, pub ns_unsatisfied_flags: *mut c_ulong, pub strings_temp_disabled: *mut c_ulong, pub matches: *mut YR_MATCHES, pub unconfirmed_matches: *mut YR_MATCHES, pub required_eval: *mut c_ulong, pub profiling_info: *mut YR_PROFILING_INFO,
}

Fields§

§file_size: u64§entry_point: u64§flags: c_int§canary: c_int§timeout: u64§user_data: *mut c_void§callback: YR_CALLBACK_FUNC§rules: *mut YR_RULES§last_error_string: *mut YR_STRING§iterator: *mut YR_MEMORY_BLOCK_ITERATOR§objects_table: *mut YR_HASH_TABLE§matches_notebook: *mut YR_NOTEBOOK§stopwatch: YR_STOPWATCH§re_fiber_pool: RE_FIBER_POOL§re_fast_exec_position_pool: RE_FAST_EXEC_POSITION_POOL§rule_matches_flags: *mut c_ulong§ns_unsatisfied_flags: *mut c_ulong§strings_temp_disabled: *mut c_ulong§matches: *mut YR_MATCHES§unconfirmed_matches: *mut YR_MATCHES§required_eval: *mut c_ulong§profiling_info: *mut YR_PROFILING_INFO

Trait Implementations§

source§

impl Clone for YR_SCAN_CONTEXT

source§

fn clone(&self) -> YR_SCAN_CONTEXT

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for YR_SCAN_CONTEXT

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.