The passage contains the device
B. Polysyndeton
Explanation:
This obscure literary device here is used masterfully to contain the lines of this passage into a single, seemingly rambling sentence that goes on longer than it normally would due to the use of connections that could have been removed easily from here.
The choice of keeping in the connections here shows that the author wanted the lines to have a seeming rambling quality to them as they go on and on without stopping by the devices that could be used here.