pub struct HarLogger { /* private fields */ }Expand description
A logger for storing har files
Implementations§
Trait Implementations§
Source§impl HttpLoggerBackend for HarLogger
impl HttpLoggerBackend for HarLogger
Source§fn log_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
start_time: SystemTime,
request: &'life1 Request<Vec<u8>>,
response: Option<&'life2 Response<Bytes>>,
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn log_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
start_time: SystemTime,
request: &'life1 Request<Vec<u8>>,
response: Option<&'life2 Response<Bytes>>,
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Log a HTTP request.
Auto Trait Implementations§
impl Freeze for HarLogger
impl RefUnwindSafe for HarLogger
impl Send for HarLogger
impl Sync for HarLogger
impl Unpin for HarLogger
impl UnwindSafe for HarLogger
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