ebi_objects 0.3.182

Objects for Ebi - a stochastic process mining utility
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ebi_arithmetic::anyhow::Result;

use crate::constants::ebi_object::EbiObject;

pub trait Exportable {
    /// Input: any EbiObject.
    /// Output: the object will have been converted if necessary, and written to f. May fail for all kinds of reasons.
    fn export_from_object(object: EbiObject, f: &mut dyn std::io::Write) -> Result<()>;

    fn export(&self, f: &mut dyn std::io::Write) -> Result<()>;
}