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