pub trait AllUsers {
type UserIter<'a>: Iterator<Item = &'a User>
where Self: 'a;
// Required method
fn get_all_users(&self) -> Self::UserIter<'_>;
}
Expand description
Trait for providers of user iterators.
Required Associated Types§
Required Methods§
sourcefn get_all_users(&self) -> Self::UserIter<'_>
fn get_all_users(&self) -> Self::UserIter<'_>
Creates a new iterator over every user.
Object Safety§
This trait is not object safe.