Struct makiko::SessionResp
source · pub struct SessionResp { /* private fields */ }
Expand description
Implementations§
source§impl SessionResp
impl SessionResp
sourcepub async fn wait(self) -> Result<()>
pub async fn wait(self) -> Result<()>
Wait for the response from the server.
If the request failed, this returns an error (Error::ChannelReq
).
sourcepub fn ignore(self)
pub fn ignore(self)
Ignore the response.
This just drops the SessionResp
, but it is a good practice to do this explicitly
with this method.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SessionResp
impl Send for SessionResp
impl Sync for SessionResp
impl Unpin for SessionResp
impl !UnwindSafe for SessionResp
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