pub struct Lane<'a> { /* private fields */ }Expand description
One scheduler lane containing invocations that share an execution rule.
Implementations§
Source§impl<'a> Lane<'a>
impl<'a> Lane<'a>
Sourcepub const fn class(&self) -> SchedulerClass
pub const fn class(&self) -> SchedulerClass
Returns the lane’s scheduler class.
Sourcepub fn invocations(&self) -> &[&'a ValidatedToolInvocation]
pub fn invocations(&self) -> &[&'a ValidatedToolInvocation]
Returns the invocations assigned to this lane in source order.
Sourcepub fn allows_parallel(&self) -> bool
pub fn allows_parallel(&self) -> bool
Returns whether invocations in this lane may execute concurrently.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Lane<'a>
impl<'a> RefUnwindSafe for Lane<'a>
impl<'a> Send for Lane<'a>
impl<'a> Sync for Lane<'a>
impl<'a> Unpin for Lane<'a>
impl<'a> UnsafeUnpin for Lane<'a>
impl<'a> UnwindSafe for Lane<'a>
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