pub struct HeapReverseRouteTable { /* private fields */ }Trait Implementations§
Source§impl Debug for HeapReverseRouteTable
impl Debug for HeapReverseRouteTable
Source§impl Default for HeapReverseRouteTable
impl Default for HeapReverseRouteTable
Source§fn default() -> HeapReverseRouteTable
fn default() -> HeapReverseRouteTable
Returns the “default value” for a type. Read more
Source§impl ReverseRouteTable for HeapReverseRouteTable
impl ReverseRouteTable for HeapReverseRouteTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn proof_destinations(&self) -> &[DestinationHash]
fn received_interfaces(&self) -> &[InterfaceId]
fn outbound_interfaces(&self) -> &[InterfaceId]
fn expires_ats(&self) -> &[InstantMillis]
fn index_of(&self, proof_destination: &DestinationHash) -> Option<usize>
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, entry: ReverseRouteEntry)
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapReverseRouteTable
impl RefUnwindSafe for HeapReverseRouteTable
impl Send for HeapReverseRouteTable
impl Sync for HeapReverseRouteTable
impl Unpin for HeapReverseRouteTable
impl UnsafeUnpin for HeapReverseRouteTable
impl UnwindSafe for HeapReverseRouteTable
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