Enum deno_task_shell::ExecuteResult
source · pub enum ExecuteResult {
Exit(i32, Vec<JoinHandle<i32>>),
Continue(i32, Vec<EnvChange>, Vec<JoinHandle<i32>>),
}
Variants§
Implementations§
source§impl ExecuteResult
impl ExecuteResult
pub fn for_cancellation() -> ExecuteResult
pub fn from_exit_code(exit_code: i32) -> ExecuteResult
pub fn into_exit_code_and_handles(self) -> (i32, Vec<JoinHandle<i32>>)
pub fn into_handles(self) -> Vec<JoinHandle<i32>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecuteResult
impl RefUnwindSafe for ExecuteResult
impl Send for ExecuteResult
impl Sync for ExecuteResult
impl Unpin for ExecuteResult
impl UnwindSafe for ExecuteResult
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