pub trait FileDescWrapper: Sized {
// Required method
fn try_unwrap(self) -> Result<FileDesc>;
}Expand description
An interface for any wrapper which can be unwrapped into a FileDesc.
Required Methods§
Sourcefn try_unwrap(self) -> Result<FileDesc>
fn try_unwrap(self) -> Result<FileDesc>
Unwrap to an owned FileDesc handle.
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.