arenabuddy_data 0.5.9

Storage of arenabuddy data
Documentation
1
2
3
4
5
6
7
8
use arenabuddy_core::replay::MatchReplay;

pub trait Storage {
    /// # Errors
    ///
    /// Will return an error if the match replay cannot be written to the storage backend
    fn write(&mut self, match_replay: &MatchReplay) -> crate::Result<()>;
}