Trait IterItem

Source
pub trait IterItem: Sized {
    // Required methods
    async fn request_next<A: HttpClient>(
        page: &Page<'_, A>,
        cont: &Option<Vec<(String, String)>>,
    ) -> Result<(Vec<Value>, Option<Vec<(String, String)>>)>;
    fn from_value(value: &Value) -> Option<Self>;
}

Required Methods§

Source

async fn request_next<A: HttpClient>( page: &Page<'_, A>, cont: &Option<Vec<(String, String)>>, ) -> Result<(Vec<Value>, Option<Vec<(String, String)>>)>

Source

fn from_value(value: &Value) -> Option<Self>

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§