pub struct K1Ese { /* private fields */ }Implementations§
Source§impl K1Ese
impl K1Ese
pub fn open( root: &Path, ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, groups: Arc<K1Groups>, ) -> Result<Self, String>
pub fn register( &self, actor: UserId, stream: ExternalSubsystem, ) -> Result<(), EseError>
pub fn submit( &self, actor: UserId, stream: ExternalSubsystem, operation_id: [u8; 32], payload: &[u8], ) -> Result<SubmitOutcome, EseError>
pub fn history( &self, actor: UserId, stream: &ExternalSubsystem, after: Option<TxId>, ) -> Result<Vec<ExternalUpdate>, EseError>
pub async fn subscribe( &self, actor: UserId, stream: ExternalSubsystem, after: Option<TxId>, ) -> Result<Vec<ExternalUpdate>, EseError>
Auto Trait Implementations§
impl Forget for K1Ese
impl Freeze for K1Ese
impl Move for K1Ese
impl RefUnwindSafe for K1Ese
impl Send for K1Ese
impl Sync for K1Ese
impl Unpin for K1Ese
impl UnsafeUnpin for K1Ese
impl UnwindSafe for K1Ese
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