pub struct OperationEvents { /* private fields */ }Expand description
A cursor over one prepared invocation, independent of its writer’s liveness.
Implementations§
Source§impl OperationEvents
impl OperationEvents
Sourcepub fn open(operation: &OperationHandle) -> Result<Self>
pub fn open(operation: &OperationHandle) -> Result<Self>
Read from this invocation’s first event, even before its writer starts.
Sourcepub fn resume(operation: &OperationHandle, cursor: &str) -> Result<Self>
pub fn resume(operation: &OperationHandle, cursor: &str) -> Result<Self>
Continue from an opaque cursor belonging to this invocation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OperationEvents
impl RefUnwindSafe for OperationEvents
impl Send for OperationEvents
impl Sync for OperationEvents
impl Unpin for OperationEvents
impl UnsafeUnpin for OperationEvents
impl UnwindSafe for OperationEvents
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