pub struct FixedIndexedDestinationIdentityTable<const CAPACITY: usize, const INDEX_BUCKETS: usize> { /* private fields */ }Trait Implementations§
Source§impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Debug for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Debug for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
Source§impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Default for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Default for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
Source§fn default() -> FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
fn default() -> FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
Returns the “default value” for a type. Read more
Source§impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> DestinationIdentityTable for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> DestinationIdentityTable for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
fn capacity(&self) -> usize
fn len(&self) -> usize
fn index_of(&self, destination: &DestinationHash) -> Option<usize>
fn destinations(&self) -> &[DestinationHash]
fn public_keys(&self) -> &[IdentityPublicKeys]
fn announced_at(&self) -> &[InstantMillis]
fn retention(&self) -> &[DestinationIdentityRetentionState]
fn app_data_handles(&self) -> &[AppDataHandle]
fn set_row(&mut self, index: usize, record: DestinationIdentityRecord)
fn push( &mut self, destination: DestinationHash, record: DestinationIdentityRecord, ) -> Result<usize, TablePushError>
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Freeze for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> RefUnwindSafe for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Send for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Sync for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> Unpin for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> UnsafeUnpin for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
impl<const CAPACITY: usize, const INDEX_BUCKETS: usize> UnwindSafe for FixedIndexedDestinationIdentityTable<CAPACITY, INDEX_BUCKETS>
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