pub trait OutputStreamImplExt: ObjectSubclass {
// Required methods
fn parent_write(
&self,
stream: &Self::Type,
buffer: &[u8],
cancellable: Option<&Cancellable>
) -> Result<usize, Error>;
fn parent_close(
&self,
stream: &Self::Type,
cancellable: Option<&Cancellable>
) -> Result<(), Error>;
fn parent_flush(
&self,
stream: &Self::Type,
cancellable: Option<&Cancellable>
) -> Result<(), Error>;
fn parent_splice(
&self,
stream: &Self::Type,
input_stream: &InputStream,
flags: OutputStreamSpliceFlags,
cancellable: Option<&Cancellable>
) -> Result<usize, Error>;
}