Trait petgraph::visit::ControlFlow

source ·
pub trait ControlFlow {
    // Required methods
    fn continuing() -> Self;
    fn should_break(&self) -> bool;
}
Expand description

Control flow for callbacks.

The empty return value () is equivalent to continue.

Required Methods§

source

fn continuing() -> Self

source

fn should_break(&self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ControlFlow for ()

source§

impl<E> ControlFlow for Result<(), E>

Implementors§