Struct rustc_query_system::dep_graph::serialized::GraphEncoder [−][src]
pub struct GraphEncoder<K: DepKind> { status: Lock<EncoderState<K>>, record_graph: Option<Lock<DepGraphQuery<K>>>, }
Fields
status: Lock<EncoderState<K>>record_graph: Option<Lock<DepGraphQuery<K>>>Implementations
impl<K: DepKind + Encodable<FileEncoder>> GraphEncoder<K>[src]
impl<K: DepKind + Encodable<FileEncoder>> GraphEncoder<K>[src]pub fn new(
encoder: FileEncoder,
prev_node_count: usize,
record_graph: bool,
record_stats: bool
) -> Self[src]
encoder: FileEncoder,
prev_node_count: usize,
record_graph: bool,
record_stats: bool
) -> Self
pub(crate) fn with_query(&self, f: impl Fn(&DepGraphQuery<K>))[src]
pub(crate) fn print_incremental_info(
&self,
total_read_count: u64,
total_duplicate_read_count: u64
)[src]
&self,
total_read_count: u64,
total_duplicate_read_count: u64
)
pub(crate) fn send(
&self,
profiler: &SelfProfilerRef,
node: DepNode<K>,
fingerprint: Fingerprint,
edges: SmallVec<[DepNodeIndex; 8]>
) -> DepNodeIndex[src]
&self,
profiler: &SelfProfilerRef,
node: DepNode<K>,
fingerprint: Fingerprint,
edges: SmallVec<[DepNodeIndex; 8]>
) -> DepNodeIndex
pub fn finish(self, profiler: &SelfProfilerRef) -> FileEncodeResult[src]
Auto Trait Implementations
impl<K> !RefUnwindSafe for GraphEncoder<K>
impl<K> Send for GraphEncoder<K>
impl<K> !Sync for GraphEncoder<K>
impl<K> Unpin for GraphEncoder<K> where
K: Unpin,
K: Unpin,