pub struct FixedStaticOutgoingAssemblyTable<const MAX_OUTGOING_ASSEMBLIES: usize> { /* private fields */ }Expand description
Fixed outgoing assembly rows with the continuation state needed to serve a large flash-backed response through bounded Resource windows.
The complete response remains in static storage. Each row retains only its borrow and offsets while the live Resource table owns the current encrypted window.
Trait Implementations§
Source§impl<const MAX_OUTGOING_ASSEMBLIES: usize> Debug for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> Debug for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
Source§impl<const MAX_OUTGOING_ASSEMBLIES: usize> Default for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> Default for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
Source§fn default() -> FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
fn default() -> FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
Returns the “default value” for a type. Read more
Source§impl<const MAX_OUTGOING_ASSEMBLIES: usize> OutgoingAssemblyTable for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> OutgoingAssemblyTable for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
fn capacity(&self) -> usize
fn len(&self) -> usize
fn link_ids(&self) -> &[LinkId]
fn original_hashes(&self) -> &[ResourceHash]
fn supports_static_continuations(&self) -> bool
fn static_continuation( &self, index: usize, ) -> Option<StaticResponseContinuation>
fn push(&mut self, link_id: LinkId, original_hash: ResourceHash)
fn set_static_continuation( &mut self, index: usize, continuation: StaticResponseContinuation, ) -> bool
fn swap_remove(&mut self, index: usize)
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<const MAX_OUTGOING_ASSEMBLIES: usize> Freeze for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> RefUnwindSafe for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> Send for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> Sync for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> Unpin for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> UnsafeUnpin for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_ASSEMBLIES>
impl<const MAX_OUTGOING_ASSEMBLIES: usize> UnwindSafe for FixedStaticOutgoingAssemblyTable<MAX_OUTGOING_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