pub enum ExploreResponse {
Path {
found: bool,
path: Vec<String>,
cost: f64,
},
Centrality {
nodes: Vec<CentralityEntry>,
},
Bridges {
nodes: Vec<BridgeEntry>,
},
Stats {
total_nodes: usize,
total_edges: usize,
connected_components: usize,
tick: u64,
agents_alive: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for ExploreResponse
impl Debug for ExploreResponse
Auto Trait Implementations§
impl Freeze for ExploreResponse
impl RefUnwindSafe for ExploreResponse
impl Send for ExploreResponse
impl Sync for ExploreResponse
impl Unpin for ExploreResponse
impl UnwindSafe for ExploreResponse
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