pub struct WireDecoder { /* private fields */ }Expand description
Receiver-side session state: wire slot → local slot, session-scoped dynamic table descriptors
(never leaked into global REGISTRY), session slot-memory budget, and child scratch buffer.
Implementations§
Source§impl WireDecoder
impl WireDecoder
pub fn reset(&mut self)
Sourcepub fn max_frame0_node_hint(wire_bytes: usize) -> usize
pub fn max_frame0_node_hint(wire_bytes: usize) -> usize
Maximum NodeStore slot hint a Frame-0 pre-reservation may claim for wire_bytes without
exceeding the session slot-memory ceiling before decoding starts.
Sourcepub fn declared_wire_tables(&self) -> impl Iterator<Item = (u8, TableSlot)> + '_
pub fn declared_wire_tables(&self) -> impl Iterator<Item = (u8, TableSlot)> + '_
Returns every active (wire_slot, local_slot) table mapping declared in this decoder
session, including sparse tables with zero currently-attached rows.
Trait Implementations§
Source§impl Clone for WireDecoder
impl Clone for WireDecoder
Source§impl Debug for WireDecoder
impl Debug for WireDecoder
Auto Trait Implementations§
impl Forget for WireDecoder
impl Freeze for WireDecoderwhere
*const u8 is !null: Freeze,
PhantomData<(TableSlot, Arc<OwnedTableDesc>)>: Freeze,
PhantomData<NodeId>: Freeze,
PhantomData<ResourceId>: Freeze,
impl Move for WireDecoder
impl RefUnwindSafe for WireDecoder
impl Send for WireDecoder
impl Sync for WireDecoder
impl Unpin for WireDecoder
impl UnsafeUnpin for WireDecoderwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(TableSlot, Arc<OwnedTableDesc>)>: UnsafeUnpin,
PhantomData<NodeId>: UnsafeUnpin,
PhantomData<ResourceId>: UnsafeUnpin,
impl UnwindSafe for WireDecoder
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