Even after having read it in context I'm not certain, but I think the gust of wind was a metaphor for Miles' progress along the hallway. The Disney book Miles Morales Spider-Man by Jason Reynolds is juvenile fiction (and I'm going to leave that as an ambiguity), so ease of reading will have taken precedence over literary form.
I think a simile would have been clearer :
"..bolting down the hallway and out the door like a gust of wind, only
[Though I'll agree - the idea of Miles bolting down the corridor and then emitting a gust of wind is much funnier.]
Edit after comment :
Simile and metaphor are both figures of speech which compare one thing to something else for artistic reasons. Instead of saying "The sky was blue", simile would suggest "The sky was like a pool of water" and metaphor would say "The sky was a pool of water", both giving an impression of something that looked blue, but doing it in a more creative way.
In this case, Miles' progress along the hallway was fast, but rather than saying that Reynolds has compared it to a gust of wind.
Writers try to be too clever for their own good sometimes.