Enum rustc_query_system::dep_graph::graph::TaskDepsRef
source · Variants§
Allow(&'a Lock<TaskDeps<K>>)
New dependencies can be added to the
TaskDeps
. This is used when executing a ‘normal’ query
(no eval_always
modifier)
Ignore
New dependencies are ignored. This is used when
executing an eval_always
query, since there’s no
need to track dependencies for a query that’s always
re-executed. This is also used for dep_graph.with_ignore
Forbid
Any attempt to add new dependencies will cause a panic. This is used when decoding a query result from disk, to ensure that the decoding process doesn’t itself require the execution of any queries.
Trait Implementations§
source§impl<'a, K: Clone + DepKind> Clone for TaskDepsRef<'a, K>
impl<'a, K: Clone + DepKind> Clone for TaskDepsRef<'a, K>
source§fn clone(&self) -> TaskDepsRef<'a, K>
fn clone(&self) -> TaskDepsRef<'a, K>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl<'a, K: Copy + DepKind> Copy for TaskDepsRef<'a, K>
Auto Trait Implementations§
impl<'a, K> !RefUnwindSafe for TaskDepsRef<'a, K>
impl<'a, K> !Send for TaskDepsRef<'a, K>
impl<'a, K> !Sync for TaskDepsRef<'a, K>
impl<'a, K> Unpin for TaskDepsRef<'a, K>
impl<'a, K> !UnwindSafe for TaskDepsRef<'a, 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: 16 bytes
Size for each variant:
Allow
: 8 bytesIgnore
: 0 bytesForbid
: 0 bytes