pub struct TaskWeight(/* private fields */);Expand description
Task weight for Weighted Fair Queuing
Higher weights mean higher importance and more execution time allocation. Weight must be between 0.1 and 10.0.
Implementations§
Trait Implementations§
Source§impl Clone for TaskWeight
impl Clone for TaskWeight
impl Copy for TaskWeight
Source§impl Debug for TaskWeight
impl Debug for TaskWeight
Source§impl Default for TaskWeight
impl Default for TaskWeight
Source§impl<'de> Deserialize<'de> for TaskWeight
impl<'de> Deserialize<'de> for TaskWeight
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
Auto Trait Implementations§
impl Freeze for TaskWeight
impl RefUnwindSafe for TaskWeight
impl Send for TaskWeight
impl Sync for TaskWeight
impl Unpin for TaskWeight
impl UnsafeUnpin for TaskWeight
impl UnwindSafe for TaskWeight
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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