pub struct SledEventTreeMap<T> { /* private fields */ }Implementations§
Source§impl<T> SledEventTreeMap<T>
impl<T> SledEventTreeMap<T>
pub fn get(&self, id: u64) -> Result<Option<HashSet<T>>, Error>
pub fn replace_or_insert( &self, id: u64, new_set: HashSet<T>, ) -> Result<(), Error>
pub fn add_or_skip(&self, key: u64, value: T) -> Result<(), Error>
pub fn iter_values(&self, id: u64) -> Option<impl IntoIterator<Item = T>>
Auto Trait Implementations§
impl<T> Freeze for SledEventTreeMap<T>
impl<T> !RefUnwindSafe for SledEventTreeMap<T>
impl<T> Send for SledEventTreeMap<T>where
T: Send,
impl<T> Sync for SledEventTreeMap<T>where
T: Sync,
impl<T> Unpin for SledEventTreeMap<T>where
T: Unpin,
impl<T> !UnwindSafe for SledEventTreeMap<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more