pub trait IOStreamImpl: ObjectImpl + IOStreamImplExt + Send {
fn input_stream(&self, stream: &Self::Type) -> InputStream { ... }
fn output_stream(&self, stream: &Self::Type) -> OutputStream { ... }
fn close(
&self,
stream: &Self::Type,
cancellable: Option<&Cancellable>
) -> Result<(), Error> { ... }
}