First, there should be a waiting period before students become eligible for bankruptcy protection--perhaps five years after beginning to make payments on student loans.
Only loans from private lenders would be dischargeable through bankruptcy.