Skip to main content

GraphValidator

Trait GraphValidator 

Source
pub trait GraphValidator {
    // Required method
    fn validate(&self) -> Result<(), GraphError>;
}
Expand description

An interface for descriptor validation (borrowed/owned/buffer).

Required Methods§

Source

fn validate(&self) -> Result<(), GraphError>

Validates the wiring of the graph.

Implementors§

Source§

impl<const N: usize, const E: usize> GraphValidator for GraphDescBuf<N, E>