Struct actix_msgpack::MsgPack
source · pub struct MsgPack<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
source§impl<T> FromRequest for MsgPack<T>where
T: 'static + DeserializeOwned,
impl<T> FromRequest for MsgPack<T>where
T: 'static + DeserializeOwned,
source§impl<T: Serialize> Responder for MsgPack<T>
impl<T: Serialize> Responder for MsgPack<T>
type Body = BoxBody
source§fn respond_to(self, _req: &HttpRequest) -> HttpResponse<Self::Body>
fn respond_to(self, _req: &HttpRequest) -> HttpResponse<Self::Body>
Convert self to
HttpResponse.Auto Trait Implementations§
impl<T> RefUnwindSafe for MsgPack<T>where
T: RefUnwindSafe,
impl<T> Send for MsgPack<T>where
T: Send,
impl<T> Sync for MsgPack<T>where
T: Sync,
impl<T> Unpin for MsgPack<T>where
T: Unpin,
impl<T> UnwindSafe for MsgPack<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