pub struct JmapThreadChanges { /* private fields */ }Expand description
I/O-free coroutine for the JMAP Thread/changes method.
Implementations§
Source§impl JmapThreadChanges
impl JmapThreadChanges
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
since_state: impl Into<String>,
opts: JmapThreadChangesOptions,
) -> Result<Self, JmapThreadChangesError>
pub fn new( session: &JmapSession, http_auth: &SecretString, since_state: impl Into<String>, opts: JmapThreadChangesOptions, ) -> Result<Self, JmapThreadChangesError>
Prepares the method call request and builds the coroutine.
Trait Implementations§
Source§impl JmapCoroutine for JmapThreadChanges
impl JmapCoroutine for JmapThreadChanges
Source§type Return = Result<JmapChangesOutput, JmapThreadChangesError>
type Return = Result<JmapChangesOutput, JmapThreadChangesError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapThreadChanges
impl RefUnwindSafe for JmapThreadChanges
impl Send for JmapThreadChanges
impl Sync for JmapThreadChanges
impl Unpin for JmapThreadChanges
impl UnsafeUnpin for JmapThreadChanges
impl UnwindSafe for JmapThreadChanges
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