mocra-core 0.4.0

The mocra crawler framework runtime: errors, cache, utilities, domain models, downloader, data-plane queue, coordination, scheduler and engine.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::cacheable::CacheAble;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
/// is close or not
pub struct StreamStats(pub bool);
impl CacheAble for StreamStats {
    fn field() -> impl AsRef<str> {
        "stream_stats"
    }
}