Trait content::Content
[−]
[src]
pub trait Content where Self: Sized { fn to_content(&self, sink: &mut Write, backend: &mut Backend) -> Result<()>; fn from_content(source: &mut Read,
newhash: &Arc<Box<Fn() -> Box<Hasher32>>>)
-> Result<Self>; }
Required Methods
fn to_content(&self, sink: &mut Write, backend: &mut Backend) -> Result<()>
fn from_content(source: &mut Read,
newhash: &Arc<Box<Fn() -> Box<Hasher32>>>)
-> Result<Self>
newhash: &Arc<Box<Fn() -> Box<Hasher32>>>)
-> Result<Self>