Parse

Trait Parse 

Source
pub trait Parse {
    // Required methods
    fn run(
        &self,
        kv: &Kv,
        retry: u64,
    ) -> impl Future<Output = Result<Option<Kv>>> + Send;
    fn on_error(
        &self,
        kv: Kv,
        error: String,
    ) -> impl Future<Output = Void> + Send;
}

Required Methods§

Source

fn run( &self, kv: &Kv, retry: u64, ) -> impl Future<Output = Result<Option<Kv>>> + Send

Source

fn on_error(&self, kv: Kv, error: String) -> impl Future<Output = Void> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§