It can be either. Formal mentorships have structured programs, while informal ones are more flexible.