Mental model of NetworkBehaviour interaction and state managemnt in rust-libp2p

Asked the same question here due to this