use crate::UuidBytes;
use static_assertions::const_assert_eq;
use zerocopy::little_endian::U64 as U64LE;
use zerocopy_derive::*;
#[derive(
Copy, Clone, Debug, Hash, PartialEq, IntoBytes, FromBytes, Unaligned, KnownLayout, Immutable,
)]
#[repr(C, packed)]
pub struct Stripe {
pub devid: U64LE,
pub offset: U64LE,
pub dev_uuid: UuidBytes,
}
const_assert_eq!(core::mem::size_of::<Stripe>(), 32);