pub struct JmapChanges { /* private fields */ }Expand description
Generic I/O-free coroutine for the JMAP Foo/changes method (RFC 8620
§5.2).
Implementations§
Source§impl JmapChanges
impl JmapChanges
Sourcepub fn new(
account_id: String,
http_auth: &SecretString,
api_url: &Url,
method: impl Into<String>,
capabilities: Vec<String>,
since_state: impl Into<String>,
opts: JmapChangesOptions,
) -> Result<Self, JmapChangesError>
pub fn new( account_id: String, http_auth: &SecretString, api_url: &Url, method: impl Into<String>, capabilities: Vec<String>, since_state: impl Into<String>, opts: JmapChangesOptions, ) -> Result<Self, JmapChangesError>
Builds a single-call Foo/changes batch and wraps it in JmapSend.
Trait Implementations§
Source§impl JmapCoroutine for JmapChanges
impl JmapCoroutine for JmapChanges
Source§type Return = Result<JmapChangesOutput, JmapChangesError>
type Return = Result<JmapChangesOutput, JmapChangesError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapChanges
impl RefUnwindSafe for JmapChanges
impl Send for JmapChanges
impl Sync for JmapChanges
impl Unpin for JmapChanges
impl UnsafeUnpin for JmapChanges
impl UnwindSafe for JmapChanges
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