Skip to main content

HeldCompletion

Type Alias HeldCompletion 

Source
pub type HeldCompletion<T, X> = (Completion, Option<(Option<T>, X)>);
Expand description

A popped completion and whatever the ring was holding for it.

Named rather than left as a nested tuple in the signature: the outer Option is “was there a completion”, and the inner one is “was this ring holding anything for it”, and those are different questions that read badly stacked.