Home
last modified time | relevance | path

Searched refs:SchedulerError (Results 1 – 4 of 4) sorted by relevance

/DADK/dadk-user/src/scheduler/
H A Dmod.rs264 pub enum SchedulerError {
272 impl Debug for SchedulerError { enum
278 SchedulerError::DependencyNotFound(current, msg) => {
287 SchedulerError::RunError(msg) => { in fmt()
290 SchedulerError::InvalidTargetArch(msg) => { in fmt()
303 ) -> Result<Self, SchedulerError> {
325 pub fn add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> { in new()
329 if let Err(SchedulerError::InvalidTargetArch(_)) = &e {
351 ) -> Result<Arc<SchedEntity>, SchedulerError> {
353 return Err(SchedulerError
280 impl Debug for SchedulerError { global() implementation
311 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument
333 add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> add_tasks() argument
359 add_task( &mut self, path: PathBuf, task: DADKTask, ) -> Result<Arc<SchedEntity>, SchedulerError> add_task() argument
412 generate_task_target( &self, path: &PathBuf, rust_target: &Option<String>, ) -> Result<Option<Target>, SchedulerError> generate_task_target() argument
443 run(&self) -> Result<(), SchedulerError> run() argument
462 run_with_topo_sort(&self) -> Result<(), SchedulerError> run_with_topo_sort() argument
489 run_without_topo_sort(&self) -> Result<(), SchedulerError> run_without_topo_sort() argument
608 check_not_exists_dependency(&self) -> Result<(), SchedulerError> check_not_exists_dependency() argument
[all...]
H A Dmod.rs264 pub enum SchedulerError {
272 impl Debug for SchedulerError { enum
278 SchedulerError::DependencyNotFound(current, msg) => {
287 SchedulerError::RunError(msg) => { in fmt()
290 SchedulerError::InvalidTargetArch(msg) => { in fmt()
303 ) -> Result<Self, SchedulerError> {
325 pub fn add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> { in new()
329 if let Err(SchedulerError::InvalidTargetArch(_)) = &e {
351 ) -> Result<Arc<SchedEntity>, SchedulerError> {
353 return Err(SchedulerError
280 impl Debug for SchedulerError { global() implementation
311 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument
333 add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> add_tasks() argument
359 add_task( &mut self, path: PathBuf, task: DADKTask, ) -> Result<Arc<SchedEntity>, SchedulerError> add_task() argument
412 generate_task_target( &self, path: &PathBuf, rust_target: &Option<String>, ) -> Result<Option<Target>, SchedulerError> generate_task_target() argument
443 run(&self) -> Result<(), SchedulerError> run() argument
462 run_with_topo_sort(&self) -> Result<(), SchedulerError> run_with_topo_sort() argument
489 run_without_topo_sort(&self) -> Result<(), SchedulerError> run_without_topo_sort() argument
608 check_not_exists_dependency(&self) -> Result<(), SchedulerError> check_not_exists_dependency() argument
[all...]
H A Dmod.rs264 pub enum SchedulerError {
272 impl Debug for SchedulerError {
278 SchedulerError::DependencyNotFound(current, msg) => {
287 SchedulerError::RunError(msg) => { in fmt()
290 SchedulerError::InvalidTargetArch(msg) => { in fmt()
303 ) -> Result<Self, SchedulerError> {
325 pub fn add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> { in new()
329 if let Err(SchedulerError::InvalidTargetArch(_)) = &e {
351 ) -> Result<Arc<SchedEntity>, SchedulerError> {
353 return Err(SchedulerError
271 pub enum SchedulerError { global() enum
279 impl Debug for SchedulerError { global() implementation
310 new( context: Arc<DadkUserExecuteContext>, dragonos_dir: PathBuf, action: Action, tasks: Vec<(PathBuf, DADKTask)>, ) -> Result<Self, SchedulerError> new() argument
332 add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> add_tasks() argument
358 add_task( &mut self, path: PathBuf, task: DADKTask, ) -> Result<Arc<SchedEntity>, SchedulerError> add_task() argument
411 generate_task_target( &self, path: &PathBuf, rust_target: &Option<String>, ) -> Result<Option<Target>, SchedulerError> generate_task_target() argument
442 run(&self) -> Result<(), SchedulerError> run() argument
460 run_with_topo_sort(&self) -> Result<(), SchedulerError> run_with_topo_sort() argument
487 run_without_topo_sort(&self) -> Result<(), SchedulerError> run_without_topo_sort() argument
606 check_not_exists_dependency(&self) -> Result<(), SchedulerError> check_not_exists_dependency() argument
[all...]
H A Dmod.rs264 pub enum SchedulerError { enum
272 impl Debug for SchedulerError { implementation
278 SchedulerError::DependencyNotFound(current, msg) => { in fmt()
287 SchedulerError::RunError(msg) => { in fmt()
290 SchedulerError::InvalidTargetArch(msg) => { in fmt()
303 ) -> Result<Self, SchedulerError> { in new() argument
325 pub fn add_tasks(&mut self, tasks: Vec<(PathBuf, DADKTask)>) -> Result<(), SchedulerError> { in add_tasks() argument
329 if let Err(SchedulerError::InvalidTargetArch(_)) = &e { in add_tasks()
351 ) -> Result<Arc<SchedEntity>, SchedulerError> { in add_task() argument
353 return Err(SchedulerError::InvalidTargetArch(format!( in add_task()
[all …]