pub struct ResourceProfile {
pub runtime: RuntimeChoice,
pub timeout_secs: u64,
pub memory_mb: u32,
pub parallel_limit: u32,
}Expand description
Resolved profile after the planner + resource manager run.
Fields§
§runtime: RuntimeChoice§timeout_secs: u64Wall-clock seconds; 0 means no timeout (cancel token only).
memory_mb: u32§parallel_limit: u32Trait Implementations§
Source§impl Clone for ResourceProfile
impl Clone for ResourceProfile
Source§fn clone(&self) -> ResourceProfile
fn clone(&self) -> ResourceProfile
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 moreSource§impl Debug for ResourceProfile
impl Debug for ResourceProfile
Source§impl Default for ResourceProfile
impl Default for ResourceProfile
Source§impl<'de> Deserialize<'de> for ResourceProfile
impl<'de> Deserialize<'de> for ResourceProfile
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 From<&ResourceProfile> for NodePool
impl From<&ResourceProfile> for NodePool
Source§fn from(p: &ResourceProfile) -> Self
fn from(p: &ResourceProfile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResourceProfile
impl RefUnwindSafe for ResourceProfile
impl Send for ResourceProfile
impl Sync for ResourceProfile
impl Unpin for ResourceProfile
impl UnsafeUnpin for ResourceProfile
impl UnwindSafe for ResourceProfile
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