Trait parallel_disk_usage::size::Size [−][src]
pub trait Size: Debug + Default + Clone + Copy + PartialEq + Eq + PartialOrd + Ord + Add<Output = Self> + AddAssign + Sum { type Inner: From<Self> + Into<Self> + Mul<Self, Output = Self>; type DisplayFormat: Copy; type DisplayOutput: Display; fn display(self, input: Self::DisplayFormat) -> Self::DisplayOutput; }
Expand description
Types whose values can be used as disk usage statistic.
Associated Types
type DisplayFormat: Copy
[src]
type DisplayFormat: Copy
[src]Format to be used to display
the value.
type DisplayOutput: Display
[src]
type DisplayOutput: Display
[src]Return type of display
.
Required methods
fn display(self, input: Self::DisplayFormat) -> Self::DisplayOutput
[src]
fn display(self, input: Self::DisplayFormat) -> Self::DisplayOutput
[src]Display the disk usage in a measurement system.
Implementors
impl Size for Blocks
[src]
impl Size for Blocks
[src]type Inner = u64
type DisplayFormat = ()
type DisplayOutput = u64
fn display(self, format: Self::DisplayFormat) -> Self::DisplayOutput
[src]
impl Size for Bytes
[src]
impl Size for Bytes
[src]