Struct erg_compiler::module::promise::SharedPromises
source · pub struct SharedPromises { /* private fields */ }
Implementations§
pub fn new(graph: SharedModuleGraph, path: PathBuf) -> Self
pub fn insert<P: Into<NormalizedPathBuf>>( &self, path: P, handle: JoinHandle<()> )
pub fn is_registered(&self, path: &Path) -> bool
pub fn is_finished(&self, path: &Path) -> bool
pub fn join(&self, path: &Path) -> Result<()>
pub fn join_children(&self)
pub fn join_all(&self)
Trait Implementations§
source§fn clone(&self) -> SharedPromises
fn clone(&self) -> SharedPromises
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn default() -> SharedPromises
fn default() -> SharedPromises
Returns the “default value” for a type. Read more