pub struct StripeFactory<R> { /* private fields */ }Implementations§
Source§impl<R: AsyncChunkReader + 'static> StripeFactory<R>
impl<R: AsyncChunkReader + 'static> StripeFactory<R>
Sourcepub async fn read_next_stripe(self) -> Result<(Self, Option<Stripe>)>
pub async fn read_next_stripe(self) -> Result<(Self, Option<Stripe>)>
Read the next stripe from the file.
Auto Trait Implementations§
impl<R> Freeze for StripeFactory<R>where
Cursor<R>: Freeze,
impl<R> RefUnwindSafe for StripeFactory<R>where
Cursor<R>: RefUnwindSafe,
impl<R> Send for StripeFactory<R>where
Cursor<R>: Send,
impl<R> Sync for StripeFactory<R>where
Cursor<R>: Sync,
impl<R> Unpin for StripeFactory<R>where
Cursor<R>: Unpin,
impl<R> UnsafeUnpin for StripeFactory<R>where
Cursor<R>: UnsafeUnpin,
impl<R> UnwindSafe for StripeFactory<R>where
Cursor<R>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more