Modified a match in resume_task_from_queue that was returning an int that was then matched on to instead use an enum.
Merge pull request #3 from toddaaro/io

Updated a match expression to use an enum instead of dispatching on an integer