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]

pub fn new(
    encoder: FileEncoder,
    prev_node_count: usize,
    record_graph: bool,
    record_stats: bool
) -> Self
[src]

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]

pub(crate) fn send(
    &self,
    profiler: &SelfProfilerRef,
    node: DepNode<K>,
    fingerprint: Fingerprint,
    edges: SmallVec<[DepNodeIndex; 8]>
) -> DepNodeIndex
[src]

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, 

impl<K> !UnwindSafe for GraphEncoder<K>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.