Struct ipp::parser::AsyncIppParser
source · pub struct AsyncIppParser<R> { /* private fields */ }
Expand description
Asynchronous IPP parser
Implementations§
source§impl<R> AsyncIppParser<R>where
R: 'static + AsyncRead + Send + Sync + Unpin,
impl<R> AsyncIppParser<R>where R: 'static + AsyncRead + Send + Sync + Unpin,
sourcepub fn new<T>(reader: T) -> AsyncIppParser<R>where
T: Into<AsyncIppReader<R>>,
pub fn new<T>(reader: T) -> AsyncIppParser<R>where T: Into<AsyncIppReader<R>>,
Create IPP parser from AsyncIppReader
sourcepub async fn parse(self) -> Result<IppRequestResponse, IppParseError>
pub async fn parse(self) -> Result<IppRequestResponse, IppParseError>
Parse IPP stream
Auto Trait Implementations§
impl<R> RefUnwindSafe for AsyncIppParser<R>where R: RefUnwindSafe,
impl<R> Send for AsyncIppParser<R>where R: Send,
impl<R> Sync for AsyncIppParser<R>where R: Sync,
impl<R> Unpin for AsyncIppParser<R>where R: Unpin,
impl<R> UnwindSafe for AsyncIppParser<R>where R: UnwindSafe,
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