Pelvic Rest

I was put on pelvic rest after a scare and I just need to know does that mean I can’t mastrubate like non-penetrative mastrubation? Like can I still use my vibrator on the outside.