struct ConnectionState {
stop_sender: Sender<()>,
idle_interrupt_sender: Sender<()>,
connectivity: ConnectivityStore,
}
Expand description
Connection state logic shared between imap and smtp connections.
Fields§
§stop_sender: Sender<()>
Channel to interrupt the whole connection.
idle_interrupt_sender: Sender<()>
Channel to interrupt idle.
connectivity: ConnectivityStore
Mutex to pass connectivity info between IMAP/SMTP threads and the API
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionState
impl !RefUnwindSafe for ConnectionState
impl Send for ConnectionState
impl Sync for ConnectionState
impl Unpin for ConnectionState
impl !UnwindSafe for ConnectionState
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more