[][src]Trait amadeus_core::file::File

pub trait File {
    type Partition: Partition;
    type Error: Error + Clone + PartialEq + 'static;
    fn partitions(self) -> Result<Vec<Self::Partition>, Self::Error>;
}

Associated Types

type Partition: Partition

type Error: Error + Clone + PartialEq + 'static

Loading content...

Required methods

fn partitions(self) -> Result<Vec<Self::Partition>, Self::Error>

Loading content...

Implementations on Foreign Types

impl<F> File for Vec<F> where
    F: File
[src]

type Partition = F::Partition

type Error = F::Error

impl<'_, F> File for &'_ [F] where
    F: File + Clone
[src]

type Partition = F::Partition

type Error = F::Error

impl File for PathBuf[src]

type Partition = Self

type Error = IoError

impl<'_> File for &'_ Path[src]

type Partition = PathBuf

type Error = IoError

impl File for String[src]

type Partition = PathBuf

type Error = IoError

impl<'_> File for &'_ str[src]

type Partition = PathBuf

type Error = IoError

impl File for OsString[src]

type Partition = PathBuf

type Error = IoError

impl<'_> File for &'_ OsStr[src]

type Partition = PathBuf

type Error = IoError

Loading content...

Implementors

Loading content...