pub struct RegexAcceleratorEvidence {
pub schema_version: u32,
pub backend: &'static str,
pub accelerator_class: RegexAcceleratorClass,
pub supported: bool,
pub device_signature: &'static str,
pub rule_capacity: u32,
pub stream_mode: RegexAcceleratorStreamMode,
pub match_schema: RegexAcceleratorMatchSchema,
pub unsupported_reason: &'static str,
pub transfer_bytes: u64,
pub match_parity_required: bool,
}Expand description
Regex accelerator benchmark evidence.
Fields§
§schema_version: u32Evidence schema version.
backend: &'static strBackend id that produced this evidence.
accelerator_class: RegexAcceleratorClassAccelerator class under comparison.
supported: boolTrue only when a real capability record exists.
device_signature: &'static strDevice signature for supported accelerators.
rule_capacity: u32Maximum rule count accepted by the accelerator.
stream_mode: RegexAcceleratorStreamModeStream mode accepted by the accelerator.
match_schema: RegexAcceleratorMatchSchemaMatch schema emitted by the accelerator.
unsupported_reason: &'static strUnsupported reason when no accelerator is available.
transfer_bytes: u64Host/device transfer bytes attributed to the accelerator path.
match_parity_required: boolTrue when software and accelerator outputs must be compared.
Implementations§
Source§impl RegexAcceleratorEvidence
impl RegexAcceleratorEvidence
Sourcepub fn is_complete(self) -> bool
pub fn is_complete(self) -> bool
Return true when the evidence cannot overclaim accelerator support.
Trait Implementations§
Source§impl Clone for RegexAcceleratorEvidence
impl Clone for RegexAcceleratorEvidence
Source§fn clone(&self) -> RegexAcceleratorEvidence
fn clone(&self) -> RegexAcceleratorEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegexAcceleratorEvidence
Source§impl Debug for RegexAcceleratorEvidence
impl Debug for RegexAcceleratorEvidence
impl Eq for RegexAcceleratorEvidence
Source§impl PartialEq for RegexAcceleratorEvidence
impl PartialEq for RegexAcceleratorEvidence
Source§fn eq(&self, other: &RegexAcceleratorEvidence) -> bool
fn eq(&self, other: &RegexAcceleratorEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegexAcceleratorEvidence
Auto Trait Implementations§
impl Freeze for RegexAcceleratorEvidence
impl RefUnwindSafe for RegexAcceleratorEvidence
impl Send for RegexAcceleratorEvidence
impl Sync for RegexAcceleratorEvidence
impl Unpin for RegexAcceleratorEvidence
impl UnsafeUnpin for RegexAcceleratorEvidence
impl UnwindSafe for RegexAcceleratorEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.