pub struct FirstItemWriter { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for FirstItemWriter
impl Debug for FirstItemWriter
Source§impl Default for FirstItemWriter
impl Default for FirstItemWriter
Source§impl LineWriter for FirstItemWriter
impl LineWriter for FirstItemWriter
fn write_line<'life0, 'async_trait>(
&'life0 mut self,
line: impl 'async_trait + AsRef<str> + Send,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write_all_lines<'life0, 'async_trait, S>( &'life0 mut self, lines: impl 'async_trait + Iterator<Item = S> + Send, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
Auto Trait Implementations§
impl Freeze for FirstItemWriter
impl RefUnwindSafe for FirstItemWriter
impl Send for FirstItemWriter
impl Sync for FirstItemWriter
impl Unpin for FirstItemWriter
impl UnwindSafe for FirstItemWriter
Blanket Implementations§
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more