pub enum SlurmError {
EnvBuildFailed(String),
SubmitFailed {
job: String,
message: String,
},
JobFailed {
job_id: u64,
message: String,
},
JobTimeout {
job_id: u64,
elapsed_secs: u64,
},
CollectFailed {
job: String,
message: String,
},
NoConfig,
PipelineParse(String),
Nix(NixError),
Dag(String),
General(String),
}Variants§
EnvBuildFailed(String)
SubmitFailed
JobFailed
JobTimeout
CollectFailed
NoConfig
PipelineParse(String)
Nix(NixError)
Dag(String)
General(String)
Trait Implementations§
Source§impl Debug for SlurmError
impl Debug for SlurmError
Source§impl Display for SlurmError
impl Display for SlurmError
Source§impl Error for SlurmError
impl Error for SlurmError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SlurmError
impl !RefUnwindSafe for SlurmError
impl Send for SlurmError
impl Sync for SlurmError
impl Unpin for SlurmError
impl UnsafeUnpin for SlurmError
impl !UnwindSafe for SlurmError
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