Struct mnemos_common::porcelain::block_storage::BlockInfoStr
source · [−]pub struct BlockInfoStr<'a> {
pub length: u32,
pub capacity: u32,
pub kind: BlockKind,
pub status: BlockStatus,
pub name: Option<&'a str>,
}
Expand description
A type containing information about a single block of a Block Storage Device.
Fields
length: u32
The used length (in bytes) of the given block
capacity: u32
The capacity (in bytes) of the given block
kind: BlockKind
The “kind” of the given block
status: BlockStatus
The current status of the given block
name: Option<&'a str>
The file name of the given block, if any
Auto Trait Implementations
impl<'a> RefUnwindSafe for BlockInfoStr<'a>
impl<'a> Send for BlockInfoStr<'a>
impl<'a> Sync for BlockInfoStr<'a>
impl<'a> Unpin for BlockInfoStr<'a>
impl<'a> UnwindSafe for BlockInfoStr<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more