Struct rustix::io::epoll::Owning [−][src]
Expand description
A type implementing Context
where the Data
type is T
, a type
implementing IntoFd
and FromFd
.
This may be used with OwnedFd
, or higher-level types like
std::fs::File
or std::net::TcpStream
.
Implementations
Trait Implementations
type Data = T
type Data = T
The type of an element owned by this context.
type Target = BorrowedFd<'context>
type Target = BorrowedFd<'context>
The type of a value used to refer to an element owned by this context.
Assume ownership of data
, and returning a Target
.
Encode target
as a u64
. The only requirement on this value is that
it be decodable by decode
. Read more
Decode raw
, which is a value encoded by encode
, into a Target
. Read more