Skip to main content

Symbolize

Trait Symbolize 

Source
pub trait Symbolize {
    // Required method
    fn symbolize<'life0, 'async_trait>(
        &'life0 self,
        entry: LogEntry,
    ) -> Pin<Box<dyn Future<Output = Option<LogEntry>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A trait for symbolizing log entries

Required Methods§

Source

fn symbolize<'life0, 'async_trait>( &'life0 self, entry: LogEntry, ) -> Pin<Box<dyn Future<Output = Option<LogEntry>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Symbolizes a LogEntry and optionally produces a result. The symbolizer may choose to discard the result. This method may be called multiple times concurrently.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§