pub trait OpenAiStreamExt: Stream<Item = Result<String>> + Sized {
// Provided methods
fn chars(
self,
) -> FlatMap<Self, Iter<IntoIter<Result<char, Error>>>, fn(Result<String>) -> Iter<IntoIter<Result<char, Error>>>> { ... }
fn lines(self) -> ReceiverStream<Result<String>>
where Self: Send + 'static { ... }
}
Provided Methods§
fn chars( self, ) -> FlatMap<Self, Iter<IntoIter<Result<char, Error>>>, fn(Result<String>) -> Iter<IntoIter<Result<char, Error>>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.