[−][src]Struct streamparser::StreamParser
Implementations
impl<P, S> StreamParser<P, S>
[src]
pub fn new(parser: P, source: S) -> Self
[src]
pub fn advance(&mut self) -> Result<(), S::Error> where
S: Advance,
[src]
S: Advance,
pub fn advance_async(
&mut self
) -> impl Future<Output = Result<(), S::Error>> + '_ where
S: AdvanceAsync + Unpin,
[src]
&mut self
) -> impl Future<Output = Result<(), S::Error>> + '_ where
S: AdvanceAsync + Unpin,
pub fn get(
&mut self
) -> Result<Option<Streaming<<P as Parse>::Output>>, <P as Parse>::Error> where
S: Buffer,
P: Parse<'i, Input = &'i S::Output>,
[src]
&mut self
) -> Result<Option<Streaming<<P as Parse>::Output>>, <P as Parse>::Error> where
S: Buffer,
P: Parse<'i, Input = &'i S::Output>,
Auto Trait Implementations
impl<P, S> RefUnwindSafe for StreamParser<P, S> where
P: RefUnwindSafe,
S: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for StreamParser<P, S> where
P: Send,
S: Send,
P: Send,
S: Send,
impl<P, S> Sync for StreamParser<P, S> where
P: Sync,
S: Sync,
P: Sync,
S: Sync,
impl<P, S> Unpin for StreamParser<P, S> where
P: Unpin,
S: Unpin,
P: Unpin,
S: Unpin,
impl<P, S> UnwindSafe for StreamParser<P, S> where
P: UnwindSafe,
S: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,