Function: enum

Return a list of all segments

This function is safe

Return Value

Returns a [Segment] containing all of the process’s segments.