Trait FromRawHandle
pub trait FromRawHandle {
// Required method
unsafe fn from_raw_handle(handle: RawHandle) -> Self;
}
Available on
docsrs and Unix and (crate features fs or net) only.Required Methods
unsafe fn from_raw_handle(handle: RawHandle) -> Self
Dyn Compatibility
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors
impl FromRawHandle for File
Available on Windows and crate feature
fs only.
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/doc/os/windows/io/trait.FromRawHandle.html