pub struct HeapRecursivePathRequestTable { /* private fields */ }Trait Implementations§
Source§impl Default for HeapRecursivePathRequestTable
impl Default for HeapRecursivePathRequestTable
Source§fn default() -> HeapRecursivePathRequestTable
fn default() -> HeapRecursivePathRequestTable
Returns the “default value” for a type. Read more
Source§impl RecursivePathRequestTable for HeapRecursivePathRequestTable
impl RecursivePathRequestTable for HeapRecursivePathRequestTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn destinations(&self) -> &[DestinationHash]
fn requesting_interfaces(&self) -> &[InterfaceId]
fn expires_ats(&self) -> &[InstantMillis]
fn index_of(&self, destination: &DestinationHash) -> Option<usize>
fn earliest_indexed_expiry(&mut self) -> Option<InstantMillis>
fn first_expired(&mut self, now: InstantMillis) -> Option<usize>
fn prefers_linear_expiry_cull(&mut self, now: InstantMillis) -> bool
fn invalidate_expiry_index(&mut self)
fn push( &mut self, destination: DestinationHash, requesting_interface: InterfaceId, expires_at: InstantMillis, )
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapRecursivePathRequestTable
impl RefUnwindSafe for HeapRecursivePathRequestTable
impl Send for HeapRecursivePathRequestTable
impl Sync for HeapRecursivePathRequestTable
impl Unpin for HeapRecursivePathRequestTable
impl UnsafeUnpin for HeapRecursivePathRequestTable
impl UnwindSafe for HeapRecursivePathRequestTable
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