pub struct HeapRecentPathRequestTable { /* private fields */ }Trait Implementations§
Source§impl Debug for HeapRecentPathRequestTable
impl Debug for HeapRecentPathRequestTable
Source§impl Default for HeapRecentPathRequestTable
impl Default for HeapRecentPathRequestTable
Source§fn default() -> HeapRecentPathRequestTable
fn default() -> HeapRecentPathRequestTable
Returns the “default value” for a type. Read more
Source§impl RecentPathRequestTable for HeapRecentPathRequestTable
impl RecentPathRequestTable for HeapRecentPathRequestTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn destinations(&self) -> &[DestinationHash]
fn requested_ats(&self) -> &[InstantMillis]
fn index_of(&self, destination: &DestinationHash) -> Option<usize>
fn first_stale(&mut self, now: InstantMillis) -> Option<usize>
fn prefers_linear_stale_cull(&mut self, now: InstantMillis) -> bool
fn invalidate_stale_index(&mut self)
fn push(&mut self, destination: DestinationHash, requested_at: InstantMillis)
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapRecentPathRequestTable
impl RefUnwindSafe for HeapRecentPathRequestTable
impl Send for HeapRecentPathRequestTable
impl Sync for HeapRecentPathRequestTable
impl Unpin for HeapRecentPathRequestTable
impl UnsafeUnpin for HeapRecentPathRequestTable
impl UnwindSafe for HeapRecentPathRequestTable
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