pub(crate) mod container;
pub(crate) mod iterator;
pub(crate) mod raw;
pub(crate) mod reference;
#[cfg(test)]
mod test;
pub use crate::collections::list::iterator::*;
pub use crate::collections::list::reference::*;
mod asserts {
use super::*;
use static_assertions::{assert_impl_all, assert_not_impl_all};
use crate::collections::list::container::RcuList;
use crate::rcu::default::RcuDefaultFlavor;
use crate::rcu::guard::RcuGuardMemb;
use crate::utility::asserts::*;
mod rcu_list {
use super::*;
assert_not_impl_all!(RcuList<NotSendNotSync, RcuDefaultFlavor>: Send);
assert_not_impl_all!(RcuList<NotSendNotSync, RcuDefaultFlavor>: Sync);
assert_impl_all!(RcuList<SendButNotSync, RcuDefaultFlavor>: Send);
assert_not_impl_all!(RcuList<SendButNotSync, RcuDefaultFlavor>: Sync);
assert_not_impl_all!(RcuList<NotSendButSync, RcuDefaultFlavor>: Send);
assert_impl_all!(RcuList<NotSendButSync, RcuDefaultFlavor>: Sync);
assert_impl_all!(RcuList<SendAndSync, RcuDefaultFlavor>: Send);
assert_impl_all!(RcuList<SendAndSync, RcuDefaultFlavor>: Sync);
}
mod rcu_list_ref_owned {
use super::*;
assert_not_impl_all!(RefOwned<NotSendNotSync>: Send);
assert_not_impl_all!(RefOwned<NotSendNotSync>: Sync);
assert_impl_all!(RefOwned<SendButNotSync>: Send);
assert_not_impl_all!(RefOwned<SendButNotSync>: Sync);
assert_not_impl_all!(RefOwned<NotSendButSync>: Send);
assert_impl_all!(RefOwned<NotSendButSync>: Sync);
assert_impl_all!(RefOwned<SendAndSync>: Send);
assert_impl_all!(RefOwned<SendAndSync>: Sync);
}
mod rcu_list_iter_forward {
use super::*;
assert_not_impl_all!(Iter<'_, NotSendNotSync, RcuGuardMemb, true>: Send);
assert_not_impl_all!(Iter<'_, NotSendNotSync, RcuGuardMemb, true>: Sync);
assert_not_impl_all!(Iter<'_, SendButNotSync, RcuGuardMemb, true>: Send);
assert_not_impl_all!(Iter<'_, SendButNotSync, RcuGuardMemb, true>: Sync);
assert_not_impl_all!(Iter<'_, NotSendButSync, RcuGuardMemb, true>: Send);
assert_not_impl_all!(Iter<'_, NotSendButSync, RcuGuardMemb, true>: Sync);
assert_not_impl_all!(Iter<'_, SendAndSync, RcuGuardMemb, true>: Send);
assert_not_impl_all!(Iter<'_, SendAndSync, RcuGuardMemb, true>: Sync);
}
mod rcu_list_iter_backward {
use super::*;
assert_not_impl_all!(Iter<'_, NotSendNotSync, RcuGuardMemb, false>: Send);
assert_not_impl_all!(Iter<'_, NotSendNotSync, RcuGuardMemb, false>: Sync);
assert_not_impl_all!(Iter<'_, SendButNotSync, RcuGuardMemb, false>: Send);
assert_not_impl_all!(Iter<'_, SendButNotSync, RcuGuardMemb, false>: Sync);
assert_not_impl_all!(Iter<'_, NotSendButSync, RcuGuardMemb, false>: Send);
assert_not_impl_all!(Iter<'_, NotSendButSync, RcuGuardMemb, false>: Sync);
assert_not_impl_all!(Iter<'_, SendAndSync, RcuGuardMemb, false>: Send);
assert_not_impl_all!(Iter<'_, SendAndSync, RcuGuardMemb, false>: Sync);
}
}