#[repr(C)]pub struct DashboardHeader {
pub dashboard_magic: u32,
pub header_version: u16,
pub ui_framework: u8,
pub compression: u8,
pub bundle_size: u64,
pub file_count: u32,
pub entry_path_len: u16,
pub reserved: u16,
pub build_timestamp: u64,
pub content_hash: [u8; 32],
}Expand description
64-byte header for DASHBOARD_SEG payloads.
Follows the standard 64-byte SegmentHeader. All multi-byte fields are
little-endian on the wire.
Payload layout after header:
[entry_path_bytes | file_table | file_data...]
File table: array of (path_len: u16, data_offset: u64, data_size: u64, path_bytes: [u8])
File data: concatenated raw file contents.
Fields§
§dashboard_magic: u32Magic: DASHBOARD_MAGIC (0x52564442, “RVDB”).
header_version: u16DashboardHeader format version (currently 1).
ui_framework: u8UI framework: 0=threejs, 1=react, 2=custom.
compression: u8Compression: 0=none, 1=gzip, 2=brotli.
bundle_size: u64Total uncompressed bundle size in bytes.
file_count: u32Number of files in the bundle.
entry_path_len: u16Length of the entry point path string.
reserved: u16Reserved padding.
build_timestamp: u64Build timestamp (unix epoch seconds).
content_hash: [u8; 32]SHAKE-256-256 of the entire bundle payload.
Implementations§
Trait Implementations§
Source§impl Clone for DashboardHeader
impl Clone for DashboardHeader
Source§fn clone(&self) -> DashboardHeader
fn clone(&self) -> DashboardHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DashboardHeader
Auto Trait Implementations§
impl Freeze for DashboardHeader
impl RefUnwindSafe for DashboardHeader
impl Send for DashboardHeader
impl Sync for DashboardHeader
impl Unpin for DashboardHeader
impl UnsafeUnpin for DashboardHeader
impl UnwindSafe for DashboardHeader
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