pub struct K1TxnOrdering { /* private fields */ }Implementations§
Source§impl K1TxnOrdering
impl K1TxnOrdering
pub fn open(root: &Path) -> Result<Self, String>
pub fn register_subsystem( &self, subsystem: SubsystemId, after: Option<TxId>, handler: Arc<dyn Subsystem>, ) -> Result<(), String>
pub fn submit_txn(&self, transaction: &[u8]) -> Result<(), SubmitError>
pub fn submit_local_txn<F, Q>( &self, timestamp: u64, creator: [u8; 32], subsystem: SubsystemId, payload: &[u8], signer: F, queue_propagation: Q, ) -> Result<(TxId, Vec<u8>), String>
pub fn contains(&self, id: TxId) -> bool
pub fn tip(&self) -> Option<TxId>
pub fn between_txids( &self, older: TxId, newer: TxId, ) -> Result<Vec<TxId>, String>
pub fn get_txn(&self, id: TxId) -> Result<Option<Vec<u8>>, String>
Auto Trait Implementations§
impl !Freeze for K1TxnOrdering
impl RefUnwindSafe for K1TxnOrdering
impl Send for K1TxnOrdering
impl Sync for K1TxnOrdering
impl Unpin for K1TxnOrdering
impl UnsafeUnpin for K1TxnOrdering
impl UnwindSafe for K1TxnOrdering
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