pub trait IntoStream: IntoRawFd + Sized {
// Provided method
fn into_stream<S: AsRef<str>>(self, mode: S) -> Result<CFile> { ... }
}
Expand description
A trait to express the ability to consume an object and acquire ownership of its stream.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.