Trait io_lifetimes::raw::FromRawFilelike
source · pub trait FromRawFilelike: FromRawHandle {
// Required method
unsafe fn from_raw_filelike(raw: RawFilelike) -> Self;
}
Expand description
This is a portability abstraction over Unix-like FromRawFd
and Windows’
FromRawHandle
.
Required Methods§
sourceunsafe fn from_raw_filelike(raw: RawFilelike) -> Self
unsafe fn from_raw_filelike(raw: RawFilelike) -> Self
Constructs Self
from the raw value.
Object Safety§
This trait is not object safe.