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>