Struct zbus::azync::SignalStream[][src]

pub struct SignalStream<'s> { /* fields omitted */ }

A stream::Stream implementation that yields signal messages.

Use Proxy::receive_signal to create an instance of this type.

Implementations

impl SignalStream<'_>[src]

pub async fn close(self) -> Result<()>[src]

Close this stream.

If not called explicitly on the stream, it is done for you but at the cost of synchronous D-Bus calls.

Trait Implementations

impl Drop for SignalStream<'_>[src]

impl Stream for SignalStream<'_>[src]

type Item = Message

Values yielded by the stream.

Auto Trait Implementations

impl<'s> !RefUnwindSafe for SignalStream<'s>[src]

impl<'s> Send for SignalStream<'s>[src]

impl<'s> !Sync for SignalStream<'s>[src]

impl<'s> Unpin for SignalStream<'s>[src]

impl<'s> !UnwindSafe for SignalStream<'s>[src]

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<S> StreamExt for S where
    S: Stream + ?Sized

impl<T> StreamExt for T where
    T: Stream + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,