From 719b11dd015a05849f80770ae802717af29de0e9 Mon Sep 17 00:00:00 2001 From: Tangent 128 Date: Mon, 2 Apr 2018 19:37:36 -0400 Subject: [PATCH] Zap some generic code that wasn't going anywhere --- src/ebml.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ebml.rs b/src/ebml.rs index 2ef62fe..67400ae 100644 --- a/src/ebml.rs +++ b/src/ebml.rs @@ -1,5 +1,4 @@ use bytes::{BigEndian, ByteOrder, BufMut}; -use futures::Async; use std::error::Error as ErrorTrait; use std::fmt::{Display, Formatter, Result as FmtResult}; 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>, Self::Error>; -} - #[cfg(test)] mod tests { use bytes::{BytesMut};