Struct BuildError
pub struct BuildError<F, S, M> {
pub future: F,
pub schedule: S,
pub metadata: M,
pub options: TaskOptions,
pub cause: BuildErrorKind,
}Expand description
创建失败时返还全部原输入;未创建可观察的半成品任务(Task)。
Fields§
§future: F未被接管的原异步计算(Future)。
schedule: S未被接管的原交付实现。
metadata: M未被接管的原附加数据。
options: TaskOptions原创建选项,不静默丢失观测接收者。
cause: BuildErrorKind创建失败的有限分类。
Auto Trait Implementations§
impl<F, S, M> Forget for BuildError<F, S, M>
impl<F, S, M> Freeze for BuildError<F, S, M>
impl<F, S, M> Move for BuildError<F, S, M>
impl<F, S, M> RefUnwindSafe for BuildError<F, S, M>
impl<F, S, M> Send for BuildError<F, S, M>
impl<F, S, M> Sync for BuildError<F, S, M>
impl<F, S, M> Unpin for BuildError<F, S, M>
impl<F, S, M> UnsafeUnpin for BuildError<F, S, M>
impl<F, S, M> UnwindSafe for BuildError<F, S, M>
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