pub struct HeapPendingPathRequestTable { /* private fields */ }Trait Implementations§
Source§impl Debug for HeapPendingPathRequestTable
impl Debug for HeapPendingPathRequestTable
Source§impl Default for HeapPendingPathRequestTable
impl Default for HeapPendingPathRequestTable
Source§fn default() -> HeapPendingPathRequestTable
fn default() -> HeapPendingPathRequestTable
Returns the “default value” for a type. Read more
Source§impl PendingPathRequestTable for HeapPendingPathRequestTable
impl PendingPathRequestTable for HeapPendingPathRequestTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn destinations(&self) -> &[DestinationHash]
fn command_ids(&self) -> &[CommandId]
fn timeout_ats(&self) -> &[InstantMillis]
fn index_of(&self, destination: &DestinationHash) -> Option<usize>
fn earliest_indexed_timeout(&mut self) -> Option<InstantMillis>
fn first_expired(&mut self, now: InstantMillis) -> Option<usize>
fn push( &mut self, request: PendingPathRequest, ) -> Result<usize, TrackPathRequestError>
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapPendingPathRequestTable
impl RefUnwindSafe for HeapPendingPathRequestTable
impl Send for HeapPendingPathRequestTable
impl Sync for HeapPendingPathRequestTable
impl Unpin for HeapPendingPathRequestTable
impl UnsafeUnpin for HeapPendingPathRequestTable
impl UnwindSafe for HeapPendingPathRequestTable
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