aboutsummaryrefslogtreecommitdiff
path: root/base/src/lib.rs
diff options
context:
space:
mode:
authorTill Höppner2016-03-02 12:57:36 +0100
committerTill Höppner2016-03-02 12:57:36 +0100
commita4db0628a0377b39be02f0e83832b0c3527933e1 (patch)
tree375e33b2942b6374e352b554d7202664812ddf2f /base/src/lib.rs
parent52d4c29f5bce85abadeb9fd394f55caf488b37f3 (diff)
downloadilc-a4db0628a0377b39be02f0e83832b0c3527933e1.tar.gz
ilc-a4db0628a0377b39be02f0e83832b0c3527933e1.tar.xz
ilc-a4db0628a0377b39be02f0e83832b0c3527933e1.zip
Merging of any number of logsv0.3.0v0.3
Diffstat (limited to 'base/src/lib.rs')
-rw-r--r--base/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/src/lib.rs b/base/src/lib.rs
index 1f56dcd..f2777e3 100644
--- a/base/src/lib.rs
+++ b/base/src/lib.rs
@@ -26,7 +26,7 @@ pub mod dummy;
use std::io::{BufRead, Write};
pub use context::Context;
-pub use event::Event;
+pub use event::{Event, Time};
pub use error::*;
pub trait Encode {
@@ -37,8 +37,8 @@ pub trait Encode {
-> error::Result<()>;
}
-pub trait Decode {
- fn decode<'a>(&'a mut self,
+pub trait Decode {
+ fn decode<'a>(&'a self,
context: &'a Context,
input: &'a mut BufRead)
-> Box<Iterator<Item = error::Result<Event<'a>>> + 'a>;