Enum erg_compiler::module::promise::Promise
source · pub enum Promise {
Running(JoinHandle<Result<(), ErrorArtifact>>),
Finished,
}Variants§
Running(JoinHandle<Result<(), ErrorArtifact>>)
Finished
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Promise
impl Send for Promise
impl Sync for Promise
impl Unpin for Promise
impl !UnwindSafe for Promise
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