compio_driver

Trait ToSharedFd

source
pub trait ToSharedFd<T> {
    // Required method
    fn to_shared_fd(&self) -> SharedFd<T>;
}
Expand description

Get a clone of SharedFd.

Required Methods§

source

fn to_shared_fd(&self) -> SharedFd<T>

Return a cloned SharedFd.

Implementors§

source§

impl<T> ToSharedFd<T> for SharedFd<T>