mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-11-22 05:48:12 -05:00
Minor cleanup
This commit is contained in:
parent
bfeb073143
commit
af5bd80034
@ -5,7 +5,6 @@ use std::io::Seek;
|
||||
#[derive(Debug)]
|
||||
pub enum KaitaiError<'a> {
|
||||
InvalidContents { actual: &'a [u8] },
|
||||
InvalidKey,
|
||||
IoError(io::Error),
|
||||
}
|
||||
|
||||
@ -25,13 +24,6 @@ pub trait KaitaiStruct<'a>
|
||||
fn new<S: KaitaiStream>(stream: &mut S) -> Result<Self>
|
||||
where
|
||||
Self: Sized;
|
||||
|
||||
/*
|
||||
fn read<S: KaitaiStream<'a>>(
|
||||
&mut self,
|
||||
|
||||
)
|
||||
*/
|
||||
}
|
||||
|
||||
pub trait KaitaiStream {
|
||||
|
Loading…
Reference in New Issue
Block a user