pub enum ResourceOpenLane {
Inline,
PoolWhenContended,
}Expand description
Who runs the chew — the runtime declares its capability once at construction.
Inline chews on the engine thread under each part arrival (the only choice without a
crypto pool); PoolWhenContended leaves spans parked for the runtime to walk through
owed_open_span and a worker’s verdict,
but only while another open is live — a lone chew is one serial chain the pool cannot
overlap with anything, so its round trips buy nothing and the engine keeps it inline.
Either way the conclusion’s catch-up keeps every row correct if no one chews.
Variants§
Trait Implementations§
Source§impl Clone for ResourceOpenLane
impl Clone for ResourceOpenLane
Source§fn clone(&self) -> ResourceOpenLane
fn clone(&self) -> ResourceOpenLane
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResourceOpenLane
Source§impl Debug for ResourceOpenLane
impl Debug for ResourceOpenLane
Source§impl Default for ResourceOpenLane
impl Default for ResourceOpenLane
Source§fn default() -> ResourceOpenLane
fn default() -> ResourceOpenLane
Returns the “default value” for a type. Read more
impl Eq for ResourceOpenLane
Source§impl PartialEq for ResourceOpenLane
impl PartialEq for ResourceOpenLane
impl StructuralPartialEq for ResourceOpenLane
Auto Trait Implementations§
impl Freeze for ResourceOpenLane
impl RefUnwindSafe for ResourceOpenLane
impl Send for ResourceOpenLane
impl Sync for ResourceOpenLane
impl Unpin for ResourceOpenLane
impl UnsafeUnpin for ResourceOpenLane
impl UnwindSafe for ResourceOpenLane
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