1 2 3 4 5 6 7 8 9 10 11 12
use controller::Tri; use errors::Result; impl Tri { /// Sends reminders to all users. pub fn remind_all_users(&self) -> Result<()> { for user in self.get_all_users()? { self.remind_user(&user)?; } Ok(()) } }