pub struct JmapWatchMailbox { /* private fields */ }Available on crate feature
jmap only.Expand description
I/O-free coroutine watching a single JMAP mailbox over one HTTP/1.1 connection.
Implementations§
Source§impl JmapWatchMailbox
impl JmapWatchMailbox
pub fn new( session: &JmapSession, http_auth: &SecretString, mailbox: &str, shutdown: Arc<AtomicBool>, ) -> Result<Self, JmapWatchMailboxError>
Trait Implementations§
Source§impl JmapCoroutine for JmapWatchMailbox
impl JmapCoroutine for JmapWatchMailbox
Source§type Yield = JmapWatchMailboxYield
type Yield = JmapWatchMailboxYield
Intermediate value handed back on every step.
Auto Trait Implementations§
impl Freeze for JmapWatchMailbox
impl RefUnwindSafe for JmapWatchMailbox
impl Send for JmapWatchMailbox
impl Sync for JmapWatchMailbox
impl Unpin for JmapWatchMailbox
impl UnsafeUnpin for JmapWatchMailbox
impl UnwindSafe for JmapWatchMailbox
Blanket Implementations§
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
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.