/// Construct a new `Router` with arbitrary data that will be available to your various routes.
Construct a new `Router` with arbitrary data that will be available to your various routes.
Construct a new ` Router ` with arbitrary data that will be available to your various routes .
pub fn with_data(data: D) -> Self {
        Self {
            handlers: HashMap::new(),
            or_else_any_method: Node::new(),
            data,
        }
    }
pub fn with_data ( data : D ) -> Self { Self { handlers : HashMap :: new ( ) , or_else_any_method : Node :: new ( ) , data , } }
Construct a new `Router` with arbitrary data that will be available to your various routes.
Construct a new ` Router ` with arbitrary data that will be available to your various routes .
data
D