Skip to main content

PrefixCaptureLease

Trait PrefixCaptureLease 

Source
pub trait PrefixCaptureLease:
    Debug
    + Send
    + Sync {
    // Required methods
    fn boundary(&self) -> usize;
    fn status(&self) -> PrefixCaptureStatus;
    fn as_any(&self) -> &dyn Any;
}
Expand description

Executor-owned interest in one source incarnation. Ready retains immutable checkpoint ownership independently of cache-index membership. Implementations must not retain the source merely to keep a cancelled computation alive.

Required Methods§

Source

fn boundary(&self) -> usize

Source

fn status(&self) -> PrefixCaptureStatus

Source

fn as_any(&self) -> &dyn Any

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§