#[repr(C)]pub struct metrics_table_header {
pub structure_size: u16,
pub format_revision: u8,
pub content_revision: u8,
}
Fields§
§structure_size: u16
§format_revision: u8
§content_revision: u8
Implementations§
Source§impl metrics_table_header
impl metrics_table_header
pub fn from_buf(buf: [u8; 4]) -> metrics_table_header
pub fn from_sysfs_path<P>(path: P) -> Result<metrics_table_header, Error>
Trait Implementations§
Source§impl Clone for metrics_table_header
impl Clone for metrics_table_header
Source§fn clone(&self) -> metrics_table_header
fn clone(&self) -> metrics_table_header
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for metrics_table_header
impl Debug for metrics_table_header
impl Copy for metrics_table_header
Auto Trait Implementations§
impl Freeze for metrics_table_header
impl RefUnwindSafe for metrics_table_header
impl Send for metrics_table_header
impl Sync for metrics_table_header
impl Unpin for metrics_table_header
impl UnwindSafe for metrics_table_header
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