#[repr(C)]pub struct mmp_struct {
pub mmp_magic: __u32,
pub mmp_seq: __u32,
pub mmp_time: __u64,
pub mmp_nodename: [__u8; 64],
pub mmp_bdevname: [__u8; 32],
pub mmp_check_interval: __u16,
pub mmp_pad1: __u16,
pub mmp_pad2: [__u32; 226],
pub mmp_checksum: __u32,
}Fields§
§mmp_magic: __u32§mmp_seq: __u32§mmp_time: __u64§mmp_nodename: [__u8; 64]§mmp_bdevname: [__u8; 32]§mmp_check_interval: __u16§mmp_pad1: __u16§mmp_pad2: [__u32; 226]§mmp_checksum: __u32Trait Implementations§
Source§impl Clone for mmp_struct
impl Clone for mmp_struct
Source§fn clone(&self) -> mmp_struct
fn clone(&self) -> mmp_struct
Returns a duplicate 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 mmp_struct
impl Debug for mmp_struct
impl Copy for mmp_struct
Auto Trait Implementations§
impl Freeze for mmp_struct
impl RefUnwindSafe for mmp_struct
impl Send for mmp_struct
impl Sync for mmp_struct
impl Unpin for mmp_struct
impl UnwindSafe for mmp_struct
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