[][src]Struct dbus::channel::Watch

pub struct Watch {
    pub fd: RawFd,
    pub read: bool,
    pub write: bool,
}

A file descriptor, and an indication whether it should be read from, written to, or both.

Fields

fd: RawFd

File descriptor

read: bool

True if wakeup should happen when the file descriptor is ready for reading

write: bool

True if wakeup should happen when the file descriptor is ready for writing

Trait Implementations

impl Clone for Watch[src]

impl Copy for Watch[src]

impl Debug for Watch[src]

impl Eq for Watch[src]

impl Ord for Watch[src]

impl PartialEq<Watch> for Watch[src]

impl PartialOrd<Watch> for Watch[src]

impl StructuralEq for Watch[src]

impl StructuralPartialEq for Watch[src]

Auto Trait Implementations

impl RefUnwindSafe for Watch

impl Send for Watch

impl Sync for Watch

impl Unpin for Watch

impl UnwindSafe for Watch

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.