Struct actix_logger::middleware::StreamLog
source · pub struct StreamLog<B> { /* private fields */ }Trait Implementations§
source§impl<B: MessageBody> MessageBody for StreamLog<B>
impl<B: MessageBody> MessageBody for StreamLog<B>
§type Error = <B as MessageBody>::Error
type Error = <B as MessageBody>::Error
The type of error that will be returned if streaming body fails. Read more
source§fn poll_next(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Bytes, Self::Error>>>
fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<Result<Bytes, Self::Error>>>
Attempt to pull out the next chunk of body bytes. Read more
impl<'__pin, B> Unpin for StreamLog<B>where __Origin<'__pin, B>: Unpin,
Auto Trait Implementations§
impl<B> !RefUnwindSafe for StreamLog<B>
impl<B> !Send for StreamLog<B>
impl<B> !Sync for StreamLog<B>
impl<B> !UnwindSafe for StreamLog<B>
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