pub struct ChunkDescriptor { /* private fields */ }Expand description
One immutable payload publication. Slots are physical allocation units; this descriptor is the variable-sized chunk decision that spans them.
Implementations§
Source§impl ChunkDescriptor
impl ChunkDescriptor
pub const fn exchange(self) -> ExchangeId
pub const fn flow(self) -> Flow
pub const fn chunk_id(self) -> u64
pub const fn allocation_generation(self) -> u64
pub const fn first_slot(self) -> u32
pub const fn slot_count(self) -> u32
pub const fn payload_len(self) -> u32
pub const fn arena_kind(self) -> u8
pub const fn owner_node(self) -> u16
Trait Implementations§
Source§impl Clone for ChunkDescriptor
impl Clone for ChunkDescriptor
impl Copy for ChunkDescriptor
Source§impl Debug for ChunkDescriptor
impl Debug for ChunkDescriptor
impl Eq for ChunkDescriptor
Source§impl Hash for ChunkDescriptor
impl Hash for ChunkDescriptor
Source§impl PartialEq for ChunkDescriptor
impl PartialEq for ChunkDescriptor
impl StructuralPartialEq for ChunkDescriptor
Auto Trait Implementations§
impl Forget for ChunkDescriptor
impl Freeze for ChunkDescriptor
impl RefUnwindSafe for ChunkDescriptor
impl Send for ChunkDescriptor
impl Sync for ChunkDescriptor
impl Unpin for ChunkDescriptor
impl UnsafeUnpin for ChunkDescriptor
impl UnwindSafe for ChunkDescriptor
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