pub trait FindConnectedComponents<GH> { type Error; // Required method fn find_conn_comp(&mut self) -> Result<Vec<GH>, Self::Error>; }