diff options
Diffstat (limited to 'src/tutors/abstractions/tutor_repo.rs')
-rw-r--r-- | src/tutors/abstractions/tutor_repo.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tutors/abstractions/tutor_repo.rs b/src/tutors/abstractions/tutor_repo.rs new file mode 100644 index 0000000..e017806 --- /dev/null +++ b/src/tutors/abstractions/tutor_repo.rs @@ -0,0 +1,5 @@ +use crate::tutors::abstractions::tutor::Tutor; + +pub trait TutorRepo { + fn load(&self) -> impl IntoIterator<Item = impl Tutor>; +} |