pub struct OperationReplayGuard { /* private fields */ }Expand description
Bounded reference replay registry. Durable ledgers implement the same comparison contract.
Implementations§
Source§impl OperationReplayGuard
impl OperationReplayGuard
pub fn new(max_entries: usize) -> Result<Self, SecurityError>
pub fn observe( &mut self, binding: OperationBinding, ) -> Result<ReplayDisposition, SecurityError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OperationReplayGuard
impl RefUnwindSafe for OperationReplayGuard
impl Send for OperationReplayGuard
impl Sync for OperationReplayGuard
impl Unpin for OperationReplayGuard
impl UnsafeUnpin for OperationReplayGuard
impl UnwindSafe for OperationReplayGuard
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