pub struct Message<T: Head> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl From<Message<RequestHead>> for Request<BoxedPayloadStream>
impl From<Message<RequestHead>> for Request<BoxedPayloadStream>
source§fn from(head: Message<RequestHead>) -> Self
fn from(head: Message<RequestHead>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Message<T>
impl<T> RefUnwindSafe for Message<T>where
T: RefUnwindSafe,
impl<T> !Send for Message<T>
impl<T> !Sync for Message<T>
impl<T> Unpin for Message<T>
impl<T> UnwindSafe for Message<T>where
T: RefUnwindSafe,
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