Trait stix::Resolve[][src]

pub trait Resolve {
    type Output;
    fn resolve(self) -> Option<Self::Output>;
}

Trait for turning a reference in a STIX collection into a data-carrying node.

Associated Types

type Output[src]

The node type, containing a reference to the data and the backing collection.

Loading content...

Required methods

fn resolve(self) -> Option<Self::Output>[src]

Produce a collection-attached node for the object identified by the ID.

Loading content...

Implementors

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Location>[src]

type Output = Node<'collection, Location>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Relationship>[src]

type Output = Node<'collection, Relationship>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, AttackPattern>[src]

type Output = Node<'collection, AttackPattern>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Campaign>[src]

type Output = Node<'collection, Campaign>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, CourseOfAction>[src]

type Output = Node<'collection, CourseOfAction>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Identity>[src]

type Output = Node<'collection, Identity>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Infrastructure>[src]

type Output = Node<'collection, Infrastructure>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, IntrusionSet>[src]

type Output = Node<'collection, IntrusionSet>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Malware>[src]

type Output = Node<'collection, Malware>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, MarkingDefinition>[src]

type Output = Node<'collection, MarkingDefinition>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, ThreatActor>[src]

type Output = Node<'collection, ThreatActor>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Tool>[src]

type Output = Node<'collection, Tool>

impl<'id, 'collection: 'id> Resolve for Ref<'id, 'collection, Vulnerability>[src]

type Output = Node<'collection, Vulnerability>

Loading content...