#[repr(u8)]pub enum StreamExecutionMode {
AsyncWorkers = 0,
CooperativeTimeSliced = 1,
}Expand description
Execution model driving asynchronous asset I/O and decoding inside AssetStreamCoordinator.
Variants§
AsyncWorkers = 0
Dedicated background worker thread pool decoupled from the frame render thread.
CooperativeTimeSliced = 1
Single-threaded cooperative chunked time-slicing strictly capped at max_decode_us per frame.
Trait Implementations§
Source§impl Clone for StreamExecutionMode
impl Clone for StreamExecutionMode
impl Copy for StreamExecutionMode
Source§impl Debug for StreamExecutionMode
impl Debug for StreamExecutionMode
Source§impl Default for StreamExecutionMode
impl Default for StreamExecutionMode
impl Eq for StreamExecutionMode
Source§impl Hash for StreamExecutionMode
impl Hash for StreamExecutionMode
Source§impl PartialEq for StreamExecutionMode
impl PartialEq for StreamExecutionMode
impl StructuralPartialEq for StreamExecutionMode
Auto Trait Implementations§
impl Forget for StreamExecutionMode
impl Freeze for StreamExecutionMode
impl Move for StreamExecutionMode
impl RefUnwindSafe for StreamExecutionMode
impl Send for StreamExecutionMode
impl Sync for StreamExecutionMode
impl Unpin for StreamExecutionMode
impl UnsafeUnpin for StreamExecutionMode
impl UnwindSafe for StreamExecutionMode
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