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
pub fn new(
encoder: FileEncoder,
prev_node_count: usize,
record_graph: bool,
record_stats: bool
) -> Self
pub(crate) fn print_incremental_info(
&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
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,
impl<K> !UnwindSafe for GraphEncoder<K>
Blanket Implementations
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: 296 bytes