Trait unsafe_io::IntoUnsafeFile [−][src]
A trait for types which can be converted into unsafe files.
A type implementing IntoUnsafeFile
guarantees that the return value
from into_unsafe_file
on an instance of the type is a copy of a handle
which is owned by that instance.
Safety
This trait is unsafe
because types implementing it must guarantee they
own their handle.
Required methods
fn into_unsafe_file(self) -> UnsafeFile
[src]
Convert self
into an unsafe file.