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