pub struct ResidentExecutionDomain { /* private fields */ }Expand description
Graph-free compact scheduler metadata owned by the enclosing runtime capsule.
Implementations§
Source§impl ResidentExecutionDomain
impl ResidentExecutionDomain
pub fn new_strict_recorder(&self) -> LaunchRecorder
Sourcepub unsafe fn enqueue<E, F>(
&self,
recorder: LaunchRecorder,
operation: F,
) -> Result<ResidentEnqueuedLaunch, LaunchEnqueueError<E>>
pub unsafe fn enqueue<E, F>( &self, recorder: LaunchRecorder, operation: F, ) -> Result<ResidentEnqueuedLaunch, LaunchEnqueueError<E>>
Prepare the recorded resident uses and synchronously invoke one enqueue operation.
§Safety
operation must enqueue all work synchronously before it returns and use
only the supplied stream. Every XLOG-owned allocation it touches must be
registered on recorder with its exact access mode. Nested work must
reuse the supplied enqueue capability instead of preparing another
recorder or submitting independently on the raw stream.
pub fn stream_id(&self) -> StreamId
Trait Implementations§
Source§impl Clone for ResidentExecutionDomain
impl Clone for ResidentExecutionDomain
Source§fn clone(&self) -> ResidentExecutionDomain
fn clone(&self) -> ResidentExecutionDomain
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ResidentExecutionDomain
impl !UnwindSafe for ResidentExecutionDomain
impl Freeze for ResidentExecutionDomain
impl Send for ResidentExecutionDomain
impl Sync for ResidentExecutionDomain
impl Unpin for ResidentExecutionDomain
impl UnsafeUnpin for ResidentExecutionDomain
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