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

pub trait File {
    type Partition: Partition;
    type Error: Error + Clone + PartialEq + 'static;
#[must_use]    fn partitions<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Self::Partition>, Self::Error>> + 'async_trait>>
    where
        Self: 'async_trait
; }

Associated Types

type Partition: Partition

type Error: Error + Clone + PartialEq + 'static

Loading content...

Required methods

#[must_use]fn partitions<'async_trait>(
    self
) -> Pin<Box<dyn Future<Output = Result<Vec<Self::Partition>, Self::Error>> + 'async_trait>> where
    Self: 'async_trait, 

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<'impl0, F> File for &'impl0 [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<'impl0> File for &'impl0 Path[src]

type Partition = PathBuf

type Error = IoError

impl File for String[src]

type Partition = PathBuf

type Error = IoError

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

type Partition = PathBuf

type Error = IoError

impl File for OsString[src]

type Partition = PathBuf

type Error = IoError

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

type Partition = PathBuf

type Error = IoError

Loading content...

Implementors

Loading content...