Struct dbus::OwnedFd
[−]
[src]
pub struct OwnedFd {
// some fields omitted
}An RAII wrapper around Fd to ensure that file descriptor is closed when the scope ends.
Methods
impl OwnedFd[src]
fn new(fd: RawFd) -> OwnedFd
Create a new OwnedFd from a RawFd.
fn into_fd(self) -> RawFd
Convert an OwnedFD back into a RawFd.