pub struct ExternalFileListMessage {
pub heap_addr: u64,
pub slots: Vec<ExternalFileSlot>,
}Expand description
Decoded External Data Files message.
Fields§
§heap_addr: u64Address of the local heap holding every slot’s name.
slots: Vec<ExternalFileSlot>In-use slots, in the order the dataset’s logical byte range concatenates them.
Implementations§
Source§impl ExternalFileListMessage
impl ExternalFileListMessage
Sourcepub fn encode(&self, ctx: &FormatContext) -> Vec<u8> ⓘ
pub fn encode(&self, ctx: &FormatContext) -> Vec<u8> ⓘ
Encode the message (H5O__efl_encode).
The allocated-slot count is written as the in-use one — upstream
encodes nused into both fields (“yes, twice”), so a message it wrote
never declares spare slots however many the property list reserved.
pub fn decode(buf: &[u8], ctx: &FormatContext) -> FormatResult<(Self, usize)>
Trait Implementations§
Source§impl Clone for ExternalFileListMessage
impl Clone for ExternalFileListMessage
Source§impl Debug for ExternalFileListMessage
impl Debug for ExternalFileListMessage
impl Eq for ExternalFileListMessage
Source§impl PartialEq for ExternalFileListMessage
impl PartialEq for ExternalFileListMessage
impl StructuralPartialEq for ExternalFileListMessage
Auto Trait Implementations§
impl Freeze for ExternalFileListMessage
impl RefUnwindSafe for ExternalFileListMessage
impl Send for ExternalFileListMessage
impl Sync for ExternalFileListMessage
impl Unpin for ExternalFileListMessage
impl UnsafeUnpin for ExternalFileListMessage
impl UnwindSafe for ExternalFileListMessage
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