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