pub struct DriverInfoMessage {
pub name: String,
pub data: Vec<u8>,
}Expand description
Driver info message (0x0014) — H5Odrvinfo.c.
Carries the VFD-specific superblock payload (H5FD_MULTI / H5FD_FAMILY)
that a v0/v1 file keeps in a separate driver-info block. The payload is
handed back verbatim: this crate opens files through a single sec2-like
handle and does not implement the multi/family drivers, so the message is
exposed for inspection rather than acted on.
Fields§
§name: StringThe 8-byte driver identifier, trailing NULs trimmed (e.g. NCSAmulti
is stored as NCSAmult).
data: Vec<u8>Driver-specific payload.
Implementations§
Source§impl DriverInfoMessage
impl DriverInfoMessage
Sourcepub fn decode(buf: &[u8]) -> FormatResult<Self>
pub fn decode(buf: &[u8]) -> FormatResult<Self>
Decode the message body.
Trait Implementations§
Source§impl Clone for DriverInfoMessage
impl Clone for DriverInfoMessage
Source§impl Debug for DriverInfoMessage
impl Debug for DriverInfoMessage
impl Eq for DriverInfoMessage
Source§impl PartialEq for DriverInfoMessage
impl PartialEq for DriverInfoMessage
impl StructuralPartialEq for DriverInfoMessage
Auto Trait Implementations§
impl Freeze for DriverInfoMessage
impl RefUnwindSafe for DriverInfoMessage
impl Send for DriverInfoMessage
impl Sync for DriverInfoMessage
impl Unpin for DriverInfoMessage
impl UnsafeUnpin for DriverInfoMessage
impl UnwindSafe for DriverInfoMessage
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