pub struct ReplayPolicy {
pub identity: &'static str,
pub validate: fn(&Request, &Response) -> Result<(), String>,
}Expand description
Exact evidence policy of one trusted backend implementation.
Fields§
§identity: &'static strVersioned producer identity, binding fixed settings and evidence semantics.
validate: fn(&Request, &Response) -> Result<(), String>Independently validate this producer’s evidence against the current request.
Trait Implementations§
Source§impl Clone for ReplayPolicy
impl Clone for ReplayPolicy
impl Copy for ReplayPolicy
Auto Trait Implementations§
impl Forget for ReplayPolicy
impl Freeze for ReplayPolicy
impl Move for ReplayPolicy
impl RefUnwindSafe for ReplayPolicy
impl Send for ReplayPolicy
impl Sync for ReplayPolicy
impl Unpin for ReplayPolicy
impl UnsafeUnpin for ReplayPolicywhere
&'static str: UnsafeUnpin,
impl UnwindSafe for ReplayPolicywhere
&'static str: UnwindSafe,
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