pub struct JobFailure {
pub id: String,
pub address: Option<String>,
pub error: Option<String>,
pub stderr: Option<String>,
}Expand description
A failed job and what it printed, as carried by
ClientError::OperationFailed.
Fields§
§id: StringJob ID, for get_job_stderr or the web UI.
address: Option<String>The exec node that ran it, as host:port.
error: Option<String>The error that ended the job, flattened to one line.
stderr: Option<String>The tail of the job’s stderr, bounded and decoded lossily.
Trait Implementations§
Source§impl Clone for JobFailure
impl Clone for JobFailure
Source§fn clone(&self) -> JobFailure
fn clone(&self) -> JobFailure
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 JobFailure
impl Debug for JobFailure
impl Eq for JobFailure
Source§impl PartialEq for JobFailure
impl PartialEq for JobFailure
impl StructuralPartialEq for JobFailure
Auto Trait Implementations§
impl Freeze for JobFailure
impl RefUnwindSafe for JobFailure
impl Send for JobFailure
impl Sync for JobFailure
impl Unpin for JobFailure
impl UnsafeUnpin for JobFailure
impl UnwindSafe for JobFailure
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