blob: 72a9eac21dfa4c4f558d0248ec5eb06e3706157c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use std::io::{Read, Write};
pub trait ArchiveFile {
type Info;
fn info() -> Self::Info;
}
pub trait ArchiveFileRead: Read + ArchiveFile {}
pub trait ArchiveFileWrite: Write + ArchiveFile {}
|