pub struct Projection { /* private fields */ }Implementations§
Source§impl Projection
impl Projection
pub fn open( root: &Path, ordering: &K1TxnOrdering, ) -> Result<(Self, Option<TxId>), String>
pub fn apply( &self, callback_txid: TxId, payload: &[u8], ) -> Result<AppliedEvent, String>
pub fn status( &self, fragment_id: FragmentId, ) -> Result<Option<FragmentStatus>, String>
pub fn queued(&self) -> Result<Vec<FragmentId>, String>
pub fn running(&self) -> Result<Vec<InterruptedFragment>, String>
pub fn validate_labels( &self, fragment_id: FragmentId, labels: &[SpeakerLabelV1], ) -> Result<TxId, String>
pub fn clear(&self) -> Result<(), String>
Auto Trait Implementations§
impl !Freeze for Projection
impl RefUnwindSafe for Projection
impl Send for Projection
impl Sync for Projection
impl Unpin for Projection
impl UnsafeUnpin for Projection
impl UnwindSafe for Projection
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