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§