[−][src]Enum disk_types::FileSystem
Describes a file system format, such as ext4 or fat32.
Variants
Methods
impl FileSystem
[src]
pub fn validate_size(self, size: u64) -> Result<(), PartitionSizeError>
[src]
Check if a given size, in bytes, is valid for this file system.
Possible Values
Ok(())
indicates a valid partition size.Err(PartitionSizeError::TooSmall)
for a partition that is too small.Err(PartitionSizeError::TooLarge)
for a partition that is too large.
Trait Implementations
impl Clone for FileSystem
[src]
fn clone(&self) -> FileSystem
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FileSystem
[src]
impl Debug for FileSystem
[src]
impl Display for FileSystem
[src]
impl From<FileSystem> for MountFS<'static>
[src]
Enable integration with the sys_mount
crate, if it is used.
fn from(fs: FileSystem) -> Self
[src]
impl FromStr for FileSystem
[src]
type Err = &'static str
The associated error which can be returned from parsing.
fn from_str(string: &str) -> Result<Self, Self::Err>
[src]
impl Hash for FileSystem
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<&'static str> for FileSystem
[src]
impl PartialEq<FileSystem> for FileSystem
[src]
impl StructuralPartialEq for FileSystem
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileSystem
impl Send for FileSystem
impl Sync for FileSystem
impl Unpin for FileSystem
impl UnwindSafe for FileSystem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,