io_lifetimes::raw

Trait AsRawFilelike

source
pub trait AsRawFilelike: AsRawFd {
    // Required method
    fn as_raw_filelike(&self) -> RawFilelike;
}
Expand description

A portable trait to obtain the raw value of an underlying filelike object.

This is a portability abstraction over Unix-like AsRawFd and Windows’ AsRawHandle.

Required Methods§

source

fn as_raw_filelike(&self) -> RawFilelike

Returns the raw value.

Implementors§