pub enum ExecutorExecutionDeferral {
Capacity(ExecutorExecutionCapacityDeferral),
RequestState(ExecutorRequestStateDeferral),
}Expand description
A pre-submit execution frontier can be blocked by independently evolving sources. Capacity waits participate in scheduler pressure/yield policy; Request-state waits never do and resume only from their exact hazard coordinator.
Variants§
Capacity(ExecutorExecutionCapacityDeferral)
RequestState(ExecutorRequestStateDeferral)
Implementations§
Source§impl ExecutorExecutionDeferral
impl ExecutorExecutionDeferral
pub const fn stage(&self) -> ExecutorExecutionCapacityStage
pub const fn as_capacity(&self) -> Option<&ExecutorExecutionCapacityDeferral>
pub const fn as_request_state(&self) -> Option<&ExecutorRequestStateDeferral>
Trait Implementations§
Source§impl Clone for ExecutorExecutionDeferral
impl Clone for ExecutorExecutionDeferral
Source§fn clone(&self) -> ExecutorExecutionDeferral
fn clone(&self) -> ExecutorExecutionDeferral
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 moreSource§impl Debug for ExecutorExecutionDeferral
impl Debug for ExecutorExecutionDeferral
Source§impl From<ExecutorExecutionCapacityDeferral> for ExecutorExecutionDeferral
impl From<ExecutorExecutionCapacityDeferral> for ExecutorExecutionDeferral
Source§fn from(deferral: ExecutorExecutionCapacityDeferral) -> Self
fn from(deferral: ExecutorExecutionCapacityDeferral) -> Self
Converts to this type from the input type.
Source§impl From<ExecutorRequestStateDeferral> for ExecutorExecutionDeferral
impl From<ExecutorRequestStateDeferral> for ExecutorExecutionDeferral
Source§fn from(deferral: ExecutorRequestStateDeferral) -> Self
fn from(deferral: ExecutorRequestStateDeferral) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutorExecutionDeferral
impl !UnwindSafe for ExecutorExecutionDeferral
impl Freeze for ExecutorExecutionDeferral
impl Send for ExecutorExecutionDeferral
impl Sync for ExecutorExecutionDeferral
impl Unpin for ExecutorExecutionDeferral
impl UnsafeUnpin for ExecutorExecutionDeferral
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