Enum luks2::LuksSegmentSize [−][src]
pub enum LuksSegmentSize {
dynamic,
fixed(u64),
}
Expand description
The size of a LuksSegment
.
Variants
Signals that the size of the underlying device should be used (dynamic resize).
fixed(u64)
The size in bytes.
Tuple Fields of fixed
0: u64
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LuksSegmentSize
impl Send for LuksSegmentSize
impl Sync for LuksSegmentSize
impl Unpin for LuksSegmentSize
impl UnwindSafe for LuksSegmentSize
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self