Struct aws_lambda_log_proxy::Processor
source · pub struct Processor { /* private fields */ }Expand description
Process log lines with Self::transformer
and write them to Self::sink.
To create this, use ProcessorBuilder::sink.
Implementations§
source§impl Processor
impl Processor
sourcepub async fn process(&mut self, line: String)
pub async fn process(&mut self, line: String)
Process a log line with Self::transformer and write it to Self::sink.
sourcepub async fn flush(&mut self)
pub async fn flush(&mut self)
Flush Self::sink.
Auto Trait Implementations§
impl Freeze for Processor
impl !RefUnwindSafe for Processor
impl Send for Processor
impl !Sync for Processor
impl Unpin for Processor
impl !UnwindSafe for Processor
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