pub struct RunnerMetadata {
pub pid: u32,
pub cpu_ms: u32,
pub max_rss_kb: u32,
pub capability_digest: Option<String>,
}Expand description
Runtime metadata from executor
Fields§
§pid: u32Process ID of the runner
cpu_ms: u32CPU time used in milliseconds
max_rss_kb: u32Maximum RSS in kilobytes
capability_digest: Option<String>Capability digest used for bundle enforcement (optional for compatibility)
Implementations§
Trait Implementations§
Source§impl Clone for RunnerMetadata
impl Clone for RunnerMetadata
Source§fn clone(&self) -> RunnerMetadata
fn clone(&self) -> RunnerMetadata
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 RunnerMetadata
impl Debug for RunnerMetadata
Source§impl<'de> Deserialize<'de> for RunnerMetadata
impl<'de> Deserialize<'de> for RunnerMetadata
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 RunnerMetadata
impl RefUnwindSafe for RunnerMetadata
impl Send for RunnerMetadata
impl Sync for RunnerMetadata
impl Unpin for RunnerMetadata
impl UnwindSafe for RunnerMetadata
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