pub struct FixedIncomingAssemblyTable<const MAX_INCOMING_ASSEMBLIES: usize> { /* private fields */ }Trait Implementations§
Source§impl<const MAX_INCOMING_ASSEMBLIES: usize> Debug for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> Debug for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
Source§impl<const MAX_INCOMING_ASSEMBLIES: usize> Default for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> Default for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
Source§fn default() -> FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
fn default() -> FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
Returns the “default value” for a type. Read more
Source§impl<const MAX_INCOMING_ASSEMBLIES: usize> IncomingAssemblyTable for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> IncomingAssemblyTable for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
fn capacity(&self) -> usize
fn len(&self) -> usize
fn link_ids(&self) -> &[LinkId]
fn original_hashes(&self) -> &[ResourceHash]
fn total_segments(&self) -> &[u64]
fn segments_received(&self) -> &[u64]
fn received_totals(&self) -> &[u64]
fn push( &mut self, link_id: LinkId, original_hash: ResourceHash, total_segments: u64, )
fn set_progress( &mut self, index: usize, segments_received: u64, received_total: u64, )
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<const MAX_INCOMING_ASSEMBLIES: usize> Freeze for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> RefUnwindSafe for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> Send for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> Sync for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> Unpin for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> UnsafeUnpin for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
impl<const MAX_INCOMING_ASSEMBLIES: usize> UnwindSafe for FixedIncomingAssemblyTable<MAX_INCOMING_ASSEMBLIES>
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