Type Alias dfir_rs::scheduled::SubgraphId

source ·
pub type SubgraphId = Key<SubgraphTag>;
Expand description

A subgraph’s ID. Invalid if used in a different graph::Dfir instance than the original that created it.

Aliased Type§

struct SubgraphId { /* private fields */ }

Implementations

source§

impl<Tag: ?Sized> Key<Tag>

source

pub fn from_raw(index: usize) -> Self

Creates a Key from a raw index. Avoid using this function directly.

Trait Implementations

source§

impl<Tag: ?Sized> Clone for Key<Tag>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Tag: ?Sized> Debug for Key<Tag>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Tag: ?Sized> Display for Key<Tag>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Tag: ?Sized> Hash for Key<Tag>

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<Tag: ?Sized> PartialEq for Key<Tag>

source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<Tag: ?Sized> Copy for Key<Tag>

source§

impl<Tag: ?Sized> Eq for Key<Tag>