pub struct ProofEngine { /* private fields */ }Implementations§
Source§impl ProofEngine
impl ProofEngine
pub const fn new(config: ProofConfig) -> Self
pub fn evaluate( &mut self, device_id: &str, timestamp_ms: u64, sensor: EnvironmentReading, sentinel_confidence: f32, ai_route: &str, ) -> ProofReceipt
pub fn evaluate_with_route_reason( &mut self, device_id: &str, timestamp_ms: u64, sensor: EnvironmentReading, sentinel_confidence: f32, ai_route: &str, route_reason: RouteReason, ) -> ProofReceipt
pub fn evaluate_with_policy( &mut self, device_id: &str, ctx: PolicyContext<'_>, ai_route: &str, ) -> ProofReceipt
Trait Implementations§
Source§impl Clone for ProofEngine
impl Clone for ProofEngine
Source§fn clone(&self) -> ProofEngine
fn clone(&self) -> ProofEngine
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 moreSource§impl Debug for ProofEngine
impl Debug for ProofEngine
Source§impl PartialEq for ProofEngine
impl PartialEq for ProofEngine
Source§fn eq(&self, other: &ProofEngine) -> bool
fn eq(&self, other: &ProofEngine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProofEngine
Auto Trait Implementations§
impl Freeze for ProofEngine
impl RefUnwindSafe for ProofEngine
impl Send for ProofEngine
impl Sync for ProofEngine
impl Unpin for ProofEngine
impl UnsafeUnpin for ProofEngine
impl UnwindSafe for ProofEngine
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