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]
&mut self,
node: &NodeInfo<K>,
record_graph: &Option<Lock<DepGraphQuery<K>>>
) -> DepNodeIndex
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,
K: Sync,
impl<K> Unpin for EncoderState<K> where
K: Unpin,
K: Unpin,
impl<K> !UnwindSafe for EncoderState<K>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,