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]
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,
impl<K> !UnwindSafe for GraphEncoder<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>,