#[repr(u8)]pub enum AsyncExecutionClass {
SynchronousBounded = 0,
AsyncBoundedTask = 1,
}Expand description
Synchronous vs bounded-async execution classification.
Variants§
SynchronousBounded = 0
Completes synchronously within the caller’s frame and tick budget.
AsyncBoundedTask = 1
Schedules a bounded asynchronous job monitored by a lease ticket.
Trait Implementations§
Source§impl Clone for AsyncExecutionClass
impl Clone for AsyncExecutionClass
impl Copy for AsyncExecutionClass
Source§impl Debug for AsyncExecutionClass
impl Debug for AsyncExecutionClass
impl Eq for AsyncExecutionClass
Source§impl Hash for AsyncExecutionClass
impl Hash for AsyncExecutionClass
Source§impl PartialEq for AsyncExecutionClass
impl PartialEq for AsyncExecutionClass
impl StructuralPartialEq for AsyncExecutionClass
Auto Trait Implementations§
impl Freeze for AsyncExecutionClass
impl RefUnwindSafe for AsyncExecutionClass
impl Send for AsyncExecutionClass
impl Sync for AsyncExecutionClass
impl Unpin for AsyncExecutionClass
impl UnsafeUnpin for AsyncExecutionClass
impl UnwindSafe for AsyncExecutionClass
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