Skip to content
API REFERENCEUsage guides →

cellpack::loader::Acquisition ​

enum

Module contract · All interfaces

At a glance ​

pub enum Acquisition {
    Batch(BatchLease),
    Pending,
    Done,
}

Outcome of a bounded owned-lease acquisition.

Fields and variants ​

Batch ​

Batch(BatchLease)

The batch is ready and leased to the caller.

Pending ​

Pending

The timeout passed first; the batch may still become ready.

Done ​

Done

The batch is past the end of the run, or has no positions.

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition