pub struct RawMessage<T: SessionTrait> { /* private fields */ }
Implementations§
Source§impl RawMessage<Session>
impl RawMessage<Session>
pub fn call(self) -> Result<HGTPMessage, CallError>
Trait Implementations§
Source§impl IntoFuture for RawMessage<SessionAsync>
impl IntoFuture for RawMessage<SessionAsync>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<HGTPMessage, CallError>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<HGTPMessage, CallError>> + Send>>
Which kind of future are we turning this into?
Source§type Output = <<RawMessage<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<RawMessage<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<T> Freeze for RawMessage<T>where
T: Freeze,
impl<T> RefUnwindSafe for RawMessage<T>where
T: RefUnwindSafe,
impl<T> Send for RawMessage<T>where
T: Send,
impl<T> Sync for RawMessage<T>where
T: Sync,
impl<T> Unpin for RawMessage<T>where
T: Unpin,
impl<T> UnwindSafe for RawMessage<T>where
T: UnwindSafe,
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