Struct panorama_imap::client::IdleToken[][src]

pub struct IdleToken {
    pub stream: ResponseStream,
    sender: UnboundedSender<String>,
}

A token that represents an idling connection.

Dropping this token indicates that the idling should be completed, and the DONE command will be sent to the server as a result.

Fields

stream: ResponseStreamsender: UnboundedSender<String>

Trait Implementations

impl Drop for IdleToken[src]

impl Stream for IdleToken[src]

type Item = Response

Values yielded by the stream.

Auto Trait Implementations

impl !RefUnwindSafe for IdleToken[src]

impl Send for IdleToken[src]

impl Sync for IdleToken[src]

impl Unpin for IdleToken[src]

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

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.