1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::log::{Log, LogStream}; use async_trait::async_trait; /// /// Source trait used to develop log input source /// #[async_trait] pub trait Source: Send + Sync { async fn source(&self) -> LogStream; } mod adb; pub use adb::ADBSource; mod file;