summaryrefslogtreecommitdiff
path: root/src/iterator.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-08-26 20:46:31 -0400
committerMica White <botahamec@outlook.com>2026-08-26 20:46:31 -0400
commit55b3a2425b242fbc5c6e471f220eeb8b949e8751 (patch)
tree5ceb7910b60cc7331024b7ce1d49ec259e0302a8 /src/iterator.rs
parent6f6e030ea7edb9d155ebf21b5d42936c20801b50 (diff)
Add tests
Diffstat (limited to 'src/iterator.rs')
-rw-r--r--src/iterator.rs29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/iterator.rs b/src/iterator.rs
deleted file mode 100644
index 79a2cc5..0000000
--- a/src/iterator.rs
+++ /dev/null
@@ -1,29 +0,0 @@
-use std::marker::PhantomData;
-
-use crate::ThreadKey;
-
-mod context;
-mod guard;
-mod iterator;
-mod tuple;
-
-pub struct LockingIterator<'context, I> {
- key: &'context ThreadKey,
- iterator: I,
-}
-
-pub struct LockingTuple<'context, L, C> {
- _lockable: PhantomData<L>,
- key: &'context ThreadKey,
- tuple: &'context C,
-}
-
-pub struct LockContext<'l, L> {
- key: Option<ThreadKey>,
- lockable: &'l L,
-}
-
-pub struct IteratorGuard<'a, Guard, Key> {
- _key: &'a Key,
- guard: Guard,
-}