Enum fil_types::sector::SectorSize [−][src]
#[repr(u64)]
pub enum SectorSize {
_2KiB,
_8MiB,
_512MiB,
_32GiB,
_64GiB,
}
Expand description
SectorSize indicates one of a set of possible sizes in the network.
Variants
_2KiB
_8MiB
_512MiB
_32GiB
_64GiB
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Auto Trait Implementations
impl RefUnwindSafe for SectorSize
impl Send for SectorSize
impl Sync for SectorSize
impl Unpin for SectorSize
impl UnwindSafe for SectorSize
Blanket Implementations
Mutably borrows from an owned value. Read more