Type Alias rustc_incremental::DepGraphFuture
source · pub type DepGraphFuture = MaybeAsync<LoadResult<(SerializedDepGraph, WorkProductMap)>>;Expand description
An asynchronous type for computing the dependency graph.
Aliased Type§
enum DepGraphFuture {
Sync(LoadResult<(SerializedDepGraph<DepKind>, UnordMap<WorkProductId, WorkProduct>)>),
Async(JoinHandle<LoadResult<(SerializedDepGraph<DepKind>, UnordMap<WorkProductId, WorkProduct>)>>),
}Variants§
Sync(LoadResult<(SerializedDepGraph<DepKind>, UnordMap<WorkProductId, WorkProduct>)>)
Async(JoinHandle<LoadResult<(SerializedDepGraph<DepKind>, UnordMap<WorkProductId, WorkProduct>)>>)
Implementations§
source§impl<T> MaybeAsync<LoadResult<T>>
impl<T> MaybeAsync<LoadResult<T>>
sourcepub fn open(self) -> LoadResult<T>
pub fn open(self) -> LoadResult<T>
Accesses the data returned in LoadResult::Ok in an asynchronous way if possible.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:160 bytes
Size for each variant:
Sync: 160 bytesAsync: 32 bytes