Struct rustc_query_system::dep_graph::serialized::EncoderState[−][src]

struct EncoderState<K: DepKind> {
    encoder: FileEncoder,
    total_node_count: usize,
    total_edge_count: usize,
    result: FileEncodeResult,
    stats: Option<FxHashMap<K, Stat<K>>>,
}

Fields

encoder: FileEncodertotal_node_count: usizetotal_edge_count: usizeresult: FileEncodeResultstats: Option<FxHashMap<K, Stat<K>>>

Implementations

impl<K: DepKind> EncoderState<K>[src]

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

fn encode_node(
    &mut self,
    node: &NodeInfo<K>,
    record_graph: &Option<Lock<DepGraphQuery<K>>>
) -> DepNodeIndex
[src]

fn finish(self) -> FileEncodeResult[src]

Auto Trait Implementations

impl<K> !RefUnwindSafe for EncoderState<K>

impl<K> Send for EncoderState<K>

impl<K> Sync for EncoderState<K> where
    K: Sync, 

impl<K> Unpin for EncoderState<K> where
    K: Unpin, 

impl<K> !UnwindSafe for EncoderState<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.