hundreds-breakfast-49010
04/13/2020, 9:53 PMNode
for NodeKey
there's a lot of match statements that explicitly list out every variant of NodeKey
, e.g.
NodeKey::Task(ref task) => task.task.display_<http://info.name.as|info.name.as>_ref().map(|s| <http://s.to|s.to>_owned()),
NodeKey::Snapshot(_) => Some(format!("{}", self)),
NodeKey::MultiPlatformExecuteProcess(mp_epr) => mp_epr.0.user_facing_name(),
NodeKey::DigestFile(..) => None,
NodeKey::DownloadedFile(..) => None,
NodeKey::ReadLink(..) => None,
NodeKey::Scandir(..) => None,
NodeKey::Select(..) => None,