pub struct DefaultPredicate { /* private fields */ }Expand description
Default predicate: ZKP + BFT approval required
Implementations§
Trait Implementations§
Source§impl AccessPredicate for DefaultPredicate
impl AccessPredicate for DefaultPredicate
Source§fn evaluate(&self, context: &ExecutionContext) -> bool
fn evaluate(&self, context: &ExecutionContext) -> bool
Evaluate predicate against execution context Read more
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Get predicate identifier (for logging)
Auto Trait Implementations§
impl Freeze for DefaultPredicate
impl RefUnwindSafe for DefaultPredicate
impl Send for DefaultPredicate
impl Sync for DefaultPredicate
impl Unpin for DefaultPredicate
impl UnwindSafe for DefaultPredicate
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