Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ebi/src/api/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use crate::{
time::SegmentedExecutionTimes,
};

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct DecoderInput<R: Read + Seek> {
inner: R,
}
Expand Down Expand Up @@ -48,6 +49,7 @@ impl DecoderInput<File> {
}
}

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct DecoderOutput<W: Write> {
inner: W,
}
Expand Down
2 changes: 2 additions & 0 deletions ebi/src/api/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use crate::{
time::SegmentedExecutionTimes,
};

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct EncoderInput<R: Read> {
inner: R,
}
Expand Down Expand Up @@ -47,6 +48,7 @@ impl EncoderInput<File> {
}
}

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct EncoderOutput<W: Write + Seek> {
inner: W,
}
Expand Down