Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/It4innovations/hyperqueue
/ parse
Method
parse
crates/hyperqueue/src/client/commands/submit/defs.rs:352–356 ·
view source on GitHub ↗
(str: &str)
Source
from the content-addressed store, hash-verified
350
}
351
352
pub fn parse(str: &str) -> crate::Result<JobDef> {
353
let jdef: JobDef = toml::from_str(str)?;
354
jdef.validate()?;
355
Ok(jdef)
356
}
357
}
358
359
#[cfg(test)]
Callers
11
parse_resource_weight
Function · 0.80
parse_backlog
Function · 0.80
min_utilization_parser
Function · 0.80
parse_user_priority
Function · 0.80
parse_crash_limit
Function · 0.80
parse_resource_coupling
Function · 0.80
p_cpu_range
Function · 0.80
p_u32
Function · 0.80
p_u64
Function · 0.80
parse_text
Method · 0.80
parse_slurm_duration
Function · 0.80
Calls
1
validate
Method · 0.45
Tested by
no test coverage detected