#[repr(i32)]pub enum ThreadingMode {
Dedicated = 0,
SharedNetwork = 1,
Shared = 2,
Invoker = 3,
}Expand description
Threading model for the embedded media driver.
Variants§
Dedicated = 0
Separate threads for conductor, sender, and receiver.
Sender and receiver share a thread; conductor is separate.
All three run on a single shared thread.
Invoker = 3
Caller-driven — the application invokes the driver duty cycle.
Trait Implementations§
Source§impl Clone for ThreadingMode
impl Clone for ThreadingMode
Source§fn clone(&self) -> ThreadingMode
fn clone(&self) -> ThreadingMode
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 moreimpl Copy for ThreadingMode
Source§impl Debug for ThreadingMode
impl Debug for ThreadingMode
impl Eq for ThreadingMode
Source§impl PartialEq for ThreadingMode
impl PartialEq for ThreadingMode
impl StructuralPartialEq for ThreadingMode
Auto Trait Implementations§
impl Freeze for ThreadingMode
impl RefUnwindSafe for ThreadingMode
impl Send for ThreadingMode
impl Sync for ThreadingMode
impl Unpin for ThreadingMode
impl UnsafeUnpin for ThreadingMode
impl UnwindSafe for ThreadingMode
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