[][src]Trait amadeus_core::file::Partition

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

Associated Types

type Page: Page

type Error: Error + Clone + PartialEq + ProcessSend + 'static

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl Partition for PathBuf[src]

type Page = LocalFile

type Error = IoError

Loading content...

Implementors

Loading content...