pub struct JmapEmailQuery { /* private fields */ }Expand description
I/O-free coroutine for the combined Email/query + Email/get operation.
Implementations§
Source§impl JmapEmailQuery
impl JmapEmailQuery
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
opts: JmapEmailQueryOptions,
) -> Result<Self, JmapEmailQueryError>
pub fn new( session: &JmapSession, http_auth: &SecretString, opts: JmapEmailQueryOptions, ) -> Result<Self, JmapEmailQueryError>
Prepares the method call request and builds the coroutine.
Trait Implementations§
Source§impl JmapCoroutine for JmapEmailQuery
impl JmapCoroutine for JmapEmailQuery
Source§type Return = Result<JmapEmailQueryOutput, JmapEmailQueryError>
type Return = Result<JmapEmailQueryOutput, JmapEmailQueryError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapEmailQuery
impl RefUnwindSafe for JmapEmailQuery
impl Send for JmapEmailQuery
impl Sync for JmapEmailQuery
impl Unpin for JmapEmailQuery
impl UnsafeUnpin for JmapEmailQuery
impl UnwindSafe for JmapEmailQuery
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