pub enum NodeRole {
EntryPoint,
Utility,
CoreLogic,
Isolated,
Adapter,
}Expand description
Node role classification
Variants§
EntryPoint
Entry point - receives control from outside
Utility
Utility - helper function called by others
CoreLogic
Core logic - central to the domain
Isolated
Isolated - no detected connections
Adapter
Adapter - boundary between layers
Implementations§
Source§impl NodeRole
impl NodeRole
Sourcepub fn from_analysis(analysis: &ImpactAnalysis) -> Self
pub fn from_analysis(analysis: &ImpactAnalysis) -> Self
Determine role from impact analysis
Trait Implementations§
impl Copy for NodeRole
impl Eq for NodeRole
impl StructuralPartialEq for NodeRole
Auto Trait Implementations§
impl Freeze for NodeRole
impl RefUnwindSafe for NodeRole
impl Send for NodeRole
impl Sync for NodeRole
impl Unpin for NodeRole
impl UnwindSafe for NodeRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.