pub struct HeapLinkTable { /* private fields */ }Trait Implementations§
Source§impl Debug for HeapLinkTable
impl Debug for HeapLinkTable
Source§impl Default for HeapLinkTable
impl Default for HeapLinkTable
Source§fn default() -> HeapLinkTable
fn default() -> HeapLinkTable
Returns the “default value” for a type. Read more
Source§impl LinkTable for HeapLinkTable
impl LinkTable for HeapLinkTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn link_ids(&self) -> &[LinkId]
fn timeout_ats(&self) -> &[Option<InstantMillis>]
fn phases(&self) -> &[LinkPhase]
fn phase_mut(&mut self, index: usize) -> &mut LinkPhase
fn set_timeout_at(&mut self, index: usize, timeout_at: Option<InstantMillis>)
fn index_of(&self, link_id: &LinkId) -> Option<usize>
fn earliest_indexed_timeout(&mut self) -> Option<InstantMillis>
fn first_due_timeout_matching<P>( &mut self, now: InstantMillis, predicate: P, ) -> Option<usize>
fn push( &mut self, link_id: LinkId, phase: LinkPhase, timeout_at: Option<InstantMillis>, ) -> Result<usize, TrackLinkError>
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapLinkTable
impl RefUnwindSafe for HeapLinkTable
impl Send for HeapLinkTable
impl Sync for HeapLinkTable
impl Unpin for HeapLinkTable
impl UnsafeUnpin for HeapLinkTable
impl UnwindSafe for HeapLinkTable
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