Struct keri_core::processor::escrow::OutOfOrderEscrow
source · pub struct OutOfOrderEscrow {
pub escrowed_out_of_order: Escrow<SignedEventMessage>,
/* private fields */
}Fields§
§escrowed_out_of_order: Escrow<SignedEventMessage>Implementations§
source§impl OutOfOrderEscrow
impl OutOfOrderEscrow
pub fn new( db: Arc<SledEventDatabase>, escrow_db: Arc<EscrowDb>, duration: Duration, ) -> Self
pub fn get_event_by_sn_and_digest( &self, sn: u64, id: &IdentifierPrefix, event_digest: &SelfAddressingIdentifier, ) -> Option<SignedEventMessage>
source§impl OutOfOrderEscrow
impl OutOfOrderEscrow
pub fn process_out_of_order_events( &self, bus: &NotificationBus, id: &IdentifierPrefix, ) -> Result<(), Error>
Trait Implementations§
source§impl Notifier for OutOfOrderEscrow
impl Notifier for OutOfOrderEscrow
fn notify( &self, notification: &Notification, bus: &NotificationBus, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for OutOfOrderEscrow
impl !RefUnwindSafe for OutOfOrderEscrow
impl Send for OutOfOrderEscrow
impl Sync for OutOfOrderEscrow
impl Unpin for OutOfOrderEscrow
impl !UnwindSafe for OutOfOrderEscrow
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