Struct zbus::OwnedFd[][src]

pub struct OwnedFd { /* fields omitted */ }

An owned representation of a file descriptor

When it is dropped, the underlying frile descriptor will be dropped. You can take ownership of the file descriptor (and avoid it being closed) by using the IntoRawFd implementation.

Trait Implementations

impl AsRawFd for OwnedFd[src]

impl Debug for OwnedFd[src]

impl Drop for OwnedFd[src]

impl Eq for OwnedFd[src]

impl FromRawFd for OwnedFd[src]

impl IntoRawFd for OwnedFd[src]

impl PartialEq<OwnedFd> for OwnedFd[src]

impl StructuralEq for OwnedFd[src]

impl StructuralPartialEq for OwnedFd[src]

Auto Trait Implementations

impl RefUnwindSafe for OwnedFd

impl Send for OwnedFd

impl Sync for OwnedFd

impl Unpin for OwnedFd

impl UnwindSafe for OwnedFd

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.