Zap some generic code that wasn't going anywhere
This commit is contained in:
parent
90c1892668
commit
719b11dd01
1 changed files with 0 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
||||||
use bytes::{BigEndian, ByteOrder, BufMut};
|
use bytes::{BigEndian, ByteOrder, BufMut};
|
||||||
use futures::Async;
|
|
||||||
use std::error::Error as ErrorTrait;
|
use std::error::Error as ErrorTrait;
|
||||||
use std::fmt::{Display, Formatter, Result as FmtResult};
|
use std::fmt::{Display, Formatter, Result as FmtResult};
|
||||||
use std::io::{Cursor, Error as IoError, ErrorKind, Result as IoResult, Write, Seek, SeekFrom};
|
use std::io::{Cursor, Error as IoError, ErrorKind, Result as IoResult, Write, Seek, SeekFrom};
|
||||||
|
@ -251,12 +250,6 @@ pub trait FromEbml<'b>: Sized {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait EbmlEventSource<'a> {
|
|
||||||
type Event: FromEbml<'a>;
|
|
||||||
type Error;
|
|
||||||
fn poll_event(&'a mut self) -> Result<Async<Option<Self::Event>>, Self::Error>;
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use bytes::{BytesMut};
|
use bytes::{BytesMut};
|
||||||
|
|
Loading…
Reference in a new issue