pub struct EtsSet { /* private fields */ }Expand description
ETS set table backed by a concurrent hash map.
Rows are deep-copied into ETS-owned storage on insert; nothing in the map points into any process heap.
Implementations§
Trait Implementations§
Source§impl EtsTable for EtsSet
impl EtsTable for EtsSet
fn metadata(&self) -> &EtsTableMetadata
fn insert(&self, tuple: Term) -> Result<(), EtsError>
fn lookup(&self, key: Term) -> Vec<Arc<OwnedTerm>>
fn delete_key(&self, key: Term) -> bool
fn delete_object(&self, tuple: Term) -> bool
fn tab2list(&self) -> Vec<Arc<OwnedTerm>>
fn transfer_owner(&self, new_owner: u64)
fn check_access( &self, caller_pid: u64, operation: AccessOp, ) -> Result<(), EtsError>
Auto Trait Implementations§
impl !Freeze for EtsSet
impl !RefUnwindSafe for EtsSet
impl Send for EtsSet
impl Sync for EtsSet
impl Unpin for EtsSet
impl UnsafeUnpin for EtsSet
impl UnwindSafe for EtsSet
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