pub struct WasmBuildBatchError { /* private fields */ }Expand description
Failure from an independent Wasm build batch.
Implementations§
Source§impl WasmBuildBatchError
impl WasmBuildBatchError
Sourcepub const fn failed_index(&self) -> usize
pub const fn failed_index(&self) -> usize
Zero-based index of the failed independent specification.
Sourcepub fn completed(&self) -> &[WasmBuildOutcome]
pub fn completed(&self) -> &[WasmBuildOutcome]
Successful outcomes completed before the failure.
Sourcepub fn into_parts(self) -> (Vec<WasmBuildOutcome>, WasmBuildError)
pub fn into_parts(self) -> (Vec<WasmBuildOutcome>, WasmBuildError)
Consume the failure and return the successful prefix and root cause.
Trait Implementations§
Source§impl Debug for WasmBuildBatchError
impl Debug for WasmBuildBatchError
Source§impl Display for WasmBuildBatchError
impl Display for WasmBuildBatchError
Source§impl Error for WasmBuildBatchError
impl Error for WasmBuildBatchError
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 !RefUnwindSafe for WasmBuildBatchError
impl !UnwindSafe for WasmBuildBatchError
impl Freeze for WasmBuildBatchError
impl Send for WasmBuildBatchError
impl Sync for WasmBuildBatchError
impl Unpin for WasmBuildBatchError
impl UnsafeUnpin for WasmBuildBatchError
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