#[non_exhaustive]pub struct RefBatch {
pub entry_name: String,
pub results: Vec<RefResult>,
pub text: Option<TextRows>,
pub inflate_us: u128,
pub search_us: u128,
pub source: &'static str,
pub error: Option<String>,
}Expand description
Results for one DEX, delivered as soon as its search completes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entry_name: StringThe APK entry searched.
results: Vec<RefResult>The rows found in it.
text: Option<TextRows>The rows as text instead, for Engine::find_refs_text (results
is then empty).
inflate_us: u128Microseconds spent getting the DEX bytes (inflating or loading them).
search_us: u128Microseconds spent searching them.
source: &'static strWhere the bytes came from: inflate, memory, disk or stored.
error: Option<String>Why (part of) the entry could not be searched; ;-separated for the
logical DEX files of a container.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RefBatch
impl !UnwindSafe for RefBatch
impl Forget for RefBatch
impl Freeze for RefBatch
impl Move for RefBatch
impl Send for RefBatch
impl Sync for RefBatch
impl Unpin for RefBatch
impl UnsafeUnpin for RefBatch
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