pub trait IntoFilelike: IntoHandle {
    fn into_filelike(self) -> OwnedFilelike;
}
Expand description

A portable trait to express the ability to consume an object and acquire ownership of its filelike object.

This is a portability abstraction over Unix-like IntoFd and Windows’ IntoHandle.

Required methods

Consumes this object, returning the underlying filelike object.

Implementors