Struct zbus::OwnedFd [−][src]
pub struct OwnedFd { /* fields omitted */ }
Expand description
An owned representation of a file descriptor
When it is dropped, the underlying file descriptor will be dropped.
You can take ownership of the file descriptor (and avoid it being closed)
by using the
IntoRawFd
implementation.
Trait Implementations
Constructs a new instance of Self
from the given raw file
descriptor. Read more
Consumes this object, returning the raw underlying file descriptor. Read more
Auto Trait Implementations
impl RefUnwindSafe for OwnedFd
impl UnwindSafe for OwnedFd