In a general sense student loan debts are treated exactly the same as all other unsecured debts, in that they are stayed from taking collection action during a bankruptcy and student loans outstanding will receive their share of any distribution and have the same rights as other creditors.
An individual filing bankruptcy within ten years of last attending school will not be eligible to have their student loans discharged at the end of the normal nine-month bankruptcy term. Rather, that individual must make a separate application to the court to have the student loans discharged after the ten-year period has passed.
The laws involving bankruptcy and student loans are relatively new and the Courts will be interpreting these new laws and your Trustee will advise you of up-to-date changes.