edjr 0.1.2

Elite Dangerous Journal Reader
1
2
3
4
5
6
7
8
9
//! Asyncronous reading
use crate::{entry::JournalEntry, error::JournalReadError};

pub trait AsyncRead {
    /// Read all entries from journal.
    ///
    /// Requires one of available asynchronous backends: [tokio]
    async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
}