pub enum RuntimeBlockingKindV1 {
ShortIo,
CpuBound,
LongRunning,
}Expand description
Identifies a bounded category of blocking work.
Variants§
ShortIo
Short blocking input or output.
CpuBound
CPU-bound work.
LongRunning
Blocking work expected to run for an extended duration.
Trait Implementations§
Source§impl Clone for RuntimeBlockingKindV1
impl Clone for RuntimeBlockingKindV1
impl Copy for RuntimeBlockingKindV1
Source§impl Debug for RuntimeBlockingKindV1
impl Debug for RuntimeBlockingKindV1
Source§impl<'de> Deserialize<'de> for RuntimeBlockingKindV1
impl<'de> Deserialize<'de> for RuntimeBlockingKindV1
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
impl Eq for RuntimeBlockingKindV1
Source§impl PartialEq for RuntimeBlockingKindV1
impl PartialEq for RuntimeBlockingKindV1
Source§impl Serialize for RuntimeBlockingKindV1
impl Serialize for RuntimeBlockingKindV1
impl StructuralPartialEq for RuntimeBlockingKindV1
Auto Trait Implementations§
impl Freeze for RuntimeBlockingKindV1
impl RefUnwindSafe for RuntimeBlockingKindV1
impl Send for RuntimeBlockingKindV1
impl Sync for RuntimeBlockingKindV1
impl Unpin for RuntimeBlockingKindV1
impl UnsafeUnpin for RuntimeBlockingKindV1
impl UnwindSafe for RuntimeBlockingKindV1
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