pub enum DependencySupport {
BothDirections,
ForwardOnly,
}Expand description
How far a source can walk its own dependency edges.
There is deliberately no unsupported variant: dependency traversal is a
guaranteed capability of this product, not one a source may opt out of. A
source that cannot report an item’s forward edges cannot implement
TaskSource. The weakest declaration is
ForwardOnly, which the engine answers in reverse by a
bounded scan and reports as emulated.
Variants§
BothDirections
The source answers both directions itself.
ForwardOnly
The source answers forward edges; the engine emulates the reverse.
Implementations§
Source§impl DependencySupport
impl DependencySupport
Sourcepub fn answers_reverse(self) -> bool
pub fn answers_reverse(self) -> bool
Whether the source answers the reverse direction itself.
Trait Implementations§
Source§impl Clone for DependencySupport
impl Clone for DependencySupport
Source§fn clone(&self) -> DependencySupport
fn clone(&self) -> DependencySupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DependencySupport
Source§impl Debug for DependencySupport
impl Debug for DependencySupport
Source§impl<'de> Deserialize<'de> for DependencySupport
impl<'de> Deserialize<'de> for DependencySupport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DependencySupport
Source§impl Hash for DependencySupport
impl Hash for DependencySupport
Source§impl JsonSchema for DependencySupport
impl JsonSchema for DependencySupport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DependencySupport
impl PartialEq for DependencySupport
Source§impl Serialize for DependencySupport
impl Serialize for DependencySupport
impl StructuralPartialEq for DependencySupport
Auto Trait Implementations§
impl Freeze for DependencySupport
impl RefUnwindSafe for DependencySupport
impl Send for DependencySupport
impl Sync for DependencySupport
impl Unpin for DependencySupport
impl UnsafeUnpin for DependencySupport
impl UnwindSafe for DependencySupport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more