pub struct PriorityBoostConfig {
pub strategy: String,
pub deadline_ms: Option<u64>,
}Expand description
Priority boost configuration
Fields§
§strategy: StringBoost strategy: “standard”, “aggressive”, or “disabled”
deadline_ms: Option<u64>Deadline in milliseconds
Trait Implementations§
Source§impl Clone for PriorityBoostConfig
impl Clone for PriorityBoostConfig
Source§fn clone(&self) -> PriorityBoostConfig
fn clone(&self) -> PriorityBoostConfig
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 PriorityBoostConfig
impl Debug for PriorityBoostConfig
Source§impl<'de> Deserialize<'de> for PriorityBoostConfig
impl<'de> Deserialize<'de> for PriorityBoostConfig
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 PriorityBoostConfig
impl RefUnwindSafe for PriorityBoostConfig
impl Send for PriorityBoostConfig
impl Sync for PriorityBoostConfig
impl Unpin for PriorityBoostConfig
impl UnsafeUnpin for PriorityBoostConfig
impl UnwindSafe for PriorityBoostConfig
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