pub enum ExecBackgroundWork {
Threads,
Cooperative,
None,
}Variants§
Implementations§
Source§impl ExecBackgroundWork
impl ExecBackgroundWork
pub fn as_str(self) -> &'static str
pub fn clamp_to_available(self, available: Self) -> Self
Trait Implementations§
Source§impl Clone for ExecBackgroundWork
impl Clone for ExecBackgroundWork
Source§fn clone(&self) -> ExecBackgroundWork
fn clone(&self) -> ExecBackgroundWork
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecBackgroundWork
impl Debug for ExecBackgroundWork
Source§impl Default for ExecBackgroundWork
impl Default for ExecBackgroundWork
Source§fn default() -> ExecBackgroundWork
fn default() -> ExecBackgroundWork
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecBackgroundWork
impl<'de> Deserialize<'de> for ExecBackgroundWork
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecBackgroundWork
impl PartialEq for ExecBackgroundWork
Source§impl Serialize for ExecBackgroundWork
impl Serialize for ExecBackgroundWork
impl Copy for ExecBackgroundWork
impl Eq for ExecBackgroundWork
impl StructuralPartialEq for ExecBackgroundWork
Auto Trait Implementations§
impl Freeze for ExecBackgroundWork
impl RefUnwindSafe for ExecBackgroundWork
impl Send for ExecBackgroundWork
impl Sync for ExecBackgroundWork
impl Unpin for ExecBackgroundWork
impl UnsafeUnpin for ExecBackgroundWork
impl UnwindSafe for ExecBackgroundWork
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